Top Down Space Shooter Newtonian-esque Movement?


(Paul Basson) #1

Hi, I’m attempting to convert a GameMaker game to Flashpunk and I’m running into some issues with movement and rotating the player.

In GameMaker, I use motion_add in order to accelerate the player in the direction their sprite is facing, and add and subtract from image_angle in order to change the direction of the movement. I was wondering how to do similar movement in Flashpunk.

I made a quick movement example to demonstrate what I’m talking about.

Any help would be greatly appreciated.


(Bora Kasap) #2

We should see how much you done to know how much you know, so we can say what you need instead of explaining lots of things… What you’re asking for is pretty easy to do.