Commit Graph

7 Commits

Author SHA1 Message Date
c083df9958 [Change] Implement 3D character controls/rotation. 2025-09-15 21:28:17 +01:00
9615c39e67 [Refac] Separate rendering, game and application. 2025-09-14 16:09:44 +01:00
9b4aa84a30 feat(network): Server reconciliation and fix UDP messaging.
Initial implementation of server-side reconciliation for player
movement.

Clients respect the server as the authoritative source for game state.
In 'process_game_state', the client compares its locally predicted pos
with the state received from the server and snaps to the server's
position if they diverge.

Had to add a defensive check to the server-side Player constructor to
fix a bug where the first connecting client was incorrectly assigned an
ID of 0. This prevented it from sending or recieving any game data.
2025-09-14 01:33:35 +01:00
a8a1ea44cf refactor(math): Replace GLM with custom math lib.
Replaced the GLM dependency with a custom math lib 'libbettola'
2025-09-13 02:25:13 +01:00
22d60c7192 refactor(player): Implement state-based input. 2025-09-12 23:54:38 +01:00
c7130ac3dd feat(player) Implement key event handling.
Adds keyboard input handling to control the "player".
2025-09-12 23:00:42 +01:00
d6d3581e5b Initial player and glm lib for matrix math. 2025-09-12 22:15:59 +01:00