I need to know, how do I shoot a bullet from the gun...I can get it to move to the target, but it won't fire from the gun, instead it'll just start in the center of the stage.
Offline
Put
go to gun_sprite
at the beginning of the shooting script for the bullet.
Offline
Here's a script for you:
When [flag] clicked
Forever [start]
Go to [Gun]
Hide
Point Towards [mouse-pointer]
If <mouse down> [start]
Repeat Until <<touching [target]> or <edge>> [start]
Move (10) steps
Repeat Until [end]
Hide
If [end]
Forever [end]
_________________________________________________________________________________
"You don't have to support it, just don't stop it"
Offline