Skip to main content

All Questions

1 vote
0 answers
543 views

Aircraft simulation

Trying to get a "semi" realistic aircraft simulator. I'm pulling my hair out because I just can't get the math right. I'm not looking for super realistic but want to at least get some ...
K2xL's user avatar
  • 111
2 votes
1 answer
1k views

finding the angle to launch a projectile at a 3d coordinates [duplicate]

I have a game where the user can shoot a bullet and the bullet flies through 3 dimensional space and eventually hits the ground somewhere. My question is how can I calculate the ...
ZeroByter's user avatar
  • 121
2 votes
2 answers
4k views

How to make Pong ai paddle?

I'm trying to make an ai so the paddles will move to position before the ball reaches it. I'm not sure how to go about it in this case. Here's the game http://cssdeck.com/labs/ping-pong-game-tutorial-...
LazerStackr's user avatar
11 votes
2 answers
810 views

How do I make good guy attacks only hit bad guys and vice versa?

My game has many different type of good guys and many different type of bad guys. They will all be firing projectiles at each other but I don't want any accidental collateral damage to occur for ...
Daniel Kaplan's user avatar
0 votes
2 answers
4k views

Javascript - create a new bullet instance every time a user event is triggered

Basically I have a function that I need to create an object of every time the user presses space(event listeners not shown here). ...
starscape's user avatar
  • 416