F - Time Trial Demo

For the position of the ships on the screen, I adapted a library for Löve found here:

I only kept the calculations part of the file.
Wasn't very strong in mathematics, I spent a lot of time positioning the different variables to have a correct rendering.
It works, but it would be better if I really understood how the calculations work ^^'
The rotation of the ships is quite simple, their angles relative to the angle of the camera gives me the angle in which to display them.

3 Likes