-
Shooter Game
Hey, I am working on my final for Game Design 1, and I can't get the bullet to fire in the direction my player is facing. I set it to fire in direction of PLAYER1, and still no luck. It always fires in his initial direction, so I have to go next to the enemies I have set and shoot at them from the original angle.
Any help would be nice. :P
-
Re: Shooter Game
A quick workaround would be:
* "Fire" key is pressed
+ Player is facing a direction "right"
-Shoot object in direction "right"
Repeat for other directions
-
Re: Shooter Game
So you did try
-upon pressing fire
shoot object using direction of play?
If you are making a game where the character faces the mouse and is controlled by the arrow keys, this might help.
First make the bullet object have bouncing ball movement with 100 speed.
Then:
-upon pressing fire
create object bullet
set direction to direction value of player 1
Might help, if not i can respond in a few hours = )
-
Re: Shooter Game
Cool, thanks. It works now.
The only thing I have to fix is that even though there is no other shooting event, it also fires to the right still......