Taking focus on a target, often to shoot it, and even more often in the head.

learn more… | top users | synonyms

2
votes
0answers
175 views

How can I use iteration to lead targets?

In my 2D game, I have stationary AI turrets firing constant speed bullets at moving targets. So far I have used a quadratic solver technique to calculate where the turret should aim in advance of the ...
0
votes
0answers
42 views

Algorithm for 2d AI aiming to compensate for gravity

In a 2d side-view scenario I have two riflemen aiming at each other. By normalizing the x and y difference they know the direct path to the enemy. However, gravity will pull the projectiles downwards,...
0
votes
0answers
41 views

Draw straight line for aiming

If you played Angry Birds or any Pool game before you would be familiar with what I'm trying to do, basically what I want is: 1- Draw a line in touchesMoved so that the player can know in which ...