Fire Button in 2 directions
GingerBGames
Member Posts: 390
Hello GS'ers,
I'm trying to make a shooter here and I'm having a bit of a problem. I have only one fire button. What I want to have happen is this. When my character is facing right, fire my laser right. When i'm facing left I want my character to fire left. It sounds easy I know, but I can't get the darn thing to work. Has anyone else accomplished this? Or can anyone lend me a hand please?
I'm trying to make a shooter here and I'm having a bit of a problem. I have only one fire button. What I want to have happen is this. When my character is facing right, fire my laser right. When i'm facing left I want my character to fire left. It sounds easy I know, but I can't get the darn thing to work. Has anyone else accomplished this? Or can anyone lend me a hand please?
Comments
Now in your fire button, make it fire left if LR is false, otherwise fire right if its true. Should work, I think!
:-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps