I'm currently trying something out for a small platformer test.
It includes shooting, but the bullets keep flying to the right when the player is facing left.
Can anybody tell me what I'm missing?
You gotta change the bullet's angle of motion when your player is mirrored.
Here's how it's set up in my game. You don't need the random, I just added that for a bit of variety, you'd wanna use 180 and 0 so it fires completely straight.
Sorry for the late reply. I'll try this out and see if it works out.
No worries, hope it works for ya!
Develop games in your browser. Powerful, performant & highly capable.
Another problem came up I can now shoot to the left, but now the bullets turn when I turn.
If I shoot to the right and move to the left the bullet turns left.
Put those events as sub-event after you created them.
Don't put them outside.
Put those events as sub-event after you created them. Don't put them outside.
Thanks.This took a bit to figure out, but now the shooting works fine.