
1


Very clear and easy to understand how the player movement works, thanks for sharing!



@braindead : thank you <3 it's my first attempt at a game, I bought pico-8 a few days ago.
I struggled a bit with the rotation trigonometry.
As well as with pangle & paccelangle, it was a bit of trial and error to correctly separate the movement vector and the spaceship rotation



I still have a problem to patch with :
pvx = pvx + paccel * cos(paccelangle+0.25)
pvy = pvy + paccel * sin(paccelangle+0.25)
I should have read the documentation and notice that "0" in the trigonometry circle isn't pointed north :D
I'll have to remake the spaceship geom so that it point east when the angle is 0. (that should fix it ? hopefully ?)
[Please log in to post a comment]