Make an actor follow your touch

Hello,

I'm making a shooting game. The shooter (actor 1) is on a roof and shooting around to objects coming to him. I want the shooter (actor 1) stand still. His weapon (actor 2) and the bullets should be following to where the one playing the game is touching the screen. For example, a enemy is going to the house and you click on the enemy and the weapond aims att that point and the bullets go to that point. Anyone know how to do that?

I think I need to change the X and Y movements location for the bullets and the weapond but don't know how.


// Alfons Sweden

Comments

Sign In or Register to comment.