Parallax in 2d games is a method to create an illusion of depth. Sprites representing entities that are further away appear smaller and move more slowly. Sprites that are closer, appear bigger and ...
I could never find out, how to create projectiles in a 2D game. Does it need linear algebra? If not, what to do to calculate its path? I just simply want to create a projectile that follows a ...
I'm trying to rotate my Turret.png (small Gunhead with a laser in front) towards the mouses location on the screen. I tried just using my method for rotating projectiles towards the next step on their ...
I am making a 2d game in which units fire arrows at each other. I know the shooter's and the target's position and the initial velocity of the projectile. I want to know the angle the projectile ...
Following up on my earlier question about finding the slope of a 2D bitmap terrain I now need to know the best way of finding the point on the 2D terrain that the missile hit. Obviously, I can see if ...