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

learn more… | top users | synonyms

2
votes
1answer
225 views

One to one aiming in 2D platformer

Hello all I have been having an issue with a 2D platformer I'm working on in Unity. It has an aiming style similar to Shadow Complex where the aiming will rotate around the character in direction to ...
3
votes
1answer
377 views

Aim prediction along a parabola - How to make a Tower Defence Mortar aim accurately

I am building a very basic tower defence game in Unity3D where one tower is your standard long range mortar/artillery. I want the projectile it fires to follow a parabola curve to make its movement ...
1
vote
0answers
126 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 ...
10
votes
2answers
633 views

Algorithm to shoot at a target in a 3d game

For those of you remembering Descent Freespace it had a nice feature to help you aim at the enemy when shooting non-homing missiles or lasers: it showed a crosshair in front of the ship you chased ...
3
votes
5answers
2k views

Determining the angle to fire a shot when target and shooter moves, and bullet moves with shooter velocity added in

I saw this question: Predicting enemy position in order to have an object lead its target and followed the link in the answer to stack overflow. In the stack overflow page I used the 2nd answer, the ...
8
votes
1answer
299 views

Targeting a vehicle with complex movement?

Targeting a vehicle with known constant velocity is simple, and collision is guaranteed (see Predicting enemy position in order to have an object lead its target, Find meeting point of 2 objects in ...
4
votes
2answers
2k views

How to calculate shot angle and velocity to hit a moving target?

I am developing a 2D Android game and I am making an aiming algorithm for AI projectiles to hit enemies either following a path, or free moving. At the moment it just calculates where the target will ...
3
votes
2answers
313 views

Is this aiming mechanic usable in a third-person top-down game?

Long story short: I've switched to a third person - top down perspective. The camera is fixed and looks down at the player. How can I implement 3d aiming ? The player needs to aim left and right as ...
8
votes
4answers
565 views

Calculating missile trajectory around orbits before shooting

I'm building a game with Unity3D. It's a Gravity Wars clone. Both player and AI turrets shoot missiles at each other (giving an Angle and a Power variables), trying not to crash missiles on planets. ...
6
votes
4answers
816 views

How can I draw a sprite that inverts the colors behind it for an aiming reticle?

In XNA, how can I draw a sprite on the screen that inverts the colors behind that sprite (i.e. the colors that would appear if the sprite weren't in the way of them)? I feel this is the best ...
29
votes
1answer
3k views

Mouse aim in an FPS

I would like to make a First Person Shooter and move the camera with the mouse. The problem is that when the cursor reaches the limits of the screen, the camera won't turn anymore. How can I keep the ...
6
votes
2answers
993 views

Predicting enemy position in order to have an object lead its target

In my 2D game I have AI turrets that should assist the player by automatically firing towards enemies. I would like to make them fire intelligently and lead their target instead of just targeting an ...
20
votes
5answers
2k views

Target Tracking: When to accelerate and decelerate a rotating turret?

Say I have a moving circular target defined as: Vector2 position; Vector2 velocity; float radius; And a rotating turret (mounted on a moving vehicle of some kind) defined as: Vector2 position; ...
5
votes
2answers
604 views

What makes aiming on a PC first person shooter feel good?

I liked this question: http://gamedev.stackexchange.com/questions/1083/what-makes-aiming-in-a-console-first-person-shooter-feel-good So here it is for PC (and its not a dupe because a mouse is hugely ...
10
votes
5answers
2k views

What makes aiming in a console first person shooter feel good?

I think it's pretty much universally agreed that simply mapping the analog stick to rotational speed of the character is not good enough to make console first person shooter feel good. So what are ...