Commit Graph

16 Commits

Author SHA1 Message Date
39a06147c8 feat(server): Implement game state broadcasting. 2025-09-13 17:49:09 +01:00
bd6281c9bc feat(server): Implement server-side game state.
* Added Player class to represent players on the server.
* Added Game class to manage the overall game state.
* Server now adds new players to the game state when they connect.
* Server now updates the players position in the game state on receiving
  a PlayerPosMessage.
2025-09-13 17:10:55 +01:00
d21a0df285 feat(server) Implement binary messaging protocol. 2025-09-13 16:33:38 +01:00
6e935918a3 feat(server) Added client/server for online play
Note: This is fucking broken! it's too early in the morning. Fix
tomorrow.
2025-09-13 05:22:30 +01:00
5a4d4ff7a3 oops: Remove .clangd from version control. 2025-09-13 02:27:59 +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
dc4dd650a4 feat(renderer) Render player quad with projection
this allows us to render a player controlled entity on screen using a 2D
projection
2025-09-12 22:46:17 +01:00
d6d3581e5b Initial player and glm lib for matrix math. 2025-09-12 22:15:59 +01:00
56bf0e9376 fix: alignment. 2025-09-12 21:51:53 +01:00
6b7684ba92 feat(render) Render shaders!
Implements the rendering pipeline to dispaly a 2D triangle using
shaders!
2025-09-12 21:49:15 +01:00
7eb86f9389 refactor: Add everything to main Bettola class. 2025-09-12 20:41:49 +01:00
557211c505 Fucking LSP adding unnessassary includes!!! 2025-09-11 23:24:04 +01:00
6a58b4a8ba feat(engine): Implement delta time calculation. 2025-09-11 23:21:37 +01:00
8dcd42c97b Initial commit of 2D RPG Engine. @dacav come help. 2025-09-11 23:07:38 +01:00