1
0
Fork 0
Commit graph

5 commits

Author SHA1 Message Date
41437cd259 Clean-up: Change indentation to tabs 2024-01-28 22:08:35 +00:00
b47052aa4d Implement moving the player
Player: Add rotation and linear speeds, as well as their current state.
Player: Allow to move in the local coordinates and compute
    world-speed equivalent.
Player: Update movement axis while rotating.

World: Add a function to advance a step.
Main: Handle key events, add world step in the main loop.
2024-01-21 22:11:46 +00:00
be78434a9c Player: Fix rotate
Rotation wasn't handled properly at all.
Properly bound between 0 and 360, and use
a proper modulo for floats.

Switch to float to have a more fluid rotation
between frames.
2024-01-21 20:31:51 +00:00
f21fc6f805 Ajout de la fonction render au monde
Joueur déplaçable
début du cast de rayon
Trop fatigué pour faire de la trigo
2019-06-01 06:42:29 +02:00
52a261de58 First commit, world map creation 2019-05-27 13:50:49 +02:00