Make an actor follow your touch
alfons.erik.hansen
Member, PRO Posts: 1
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
@alfons.erik.hansen
Hi Alfons, this is something like what you're after - hope it helps.
Just realised, I'd left an attribute in the file that's not needed. Please ignore the one above, Here is the updated game file:
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps