Question by
Gabrieldonley · Nov 28, 2015 at 09:30 AM ·
direction
How can I control my game object?
Hi, So I have a machine that shoots projectiles and passing enemies, and I've programmed the machine to recognize that when this command happens, only the projectile moves, not the whole machine. I just copied the code from my enemy (which is just a helicopter that flies by) so obviously at the game start, my projectile shoots out of the players machine. Can someone help me on how I can keep the projectile from firing until the player clicks the screen? Also on how I can get the projectile to fire in the direction the player clicks? Thanks so much..I know this was a lot! Gabriel
Comment