@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
P#88973 2021-03-14 21:03
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 ?)
P#88974 2021-03-14 21:08 ( Edited 2021-03-14 21:09)
[Please log in to post a comment]