What I want to happen is when the "S" key is pressed for a bullet to shoot out of the sprite I'm playing with. How do I do this?
~Zerozo
Offline
Oh and I need the bullet to shoot in the direction of the mouse cursor OR if you can't do that for it to shoot in the direction of whatever arrow is being held down
Offline
Make a bullet sprite and a sprite for the person shooting.
The person shooting can have any movement scripts you want.
For the bullet:
when gf clicked hide forever if <key [s v] pressed?> go to [person v] point towards [mouse-pointer v] // makes it point towards mouse cursor show repeat until <<touching [edge v]?> or <touching [anything else v]?>> move (10) steps end hide endHope this helps, and good luck with your project!
Offline