Commit Graph

126 Commits

Author SHA1 Message Date
ac58e1bfb7 feat: add Piece HP and ATK 2026-02-04 17:11:36 +08:00
ede8dfbb26 feat: Add GameTitle 2026-02-04 16:38:21 +08:00
940f0b11a1 feat: add GROW and SPORE animation 2026-01-17 12:21:48 +08:00
df3699c791 fix: rendering selected piece 2026-01-16 20:13:08 +08:00
26408b35b9 feat: add MOVE animation 2026-01-16 19:48:26 +08:00
52badbfd1c fix: callback funtion not injected when restarting the game 2026-01-16 18:05:53 +08:00
94502e6104 perf: optimize texture caching 2026-01-16 17:56:41 +08:00
562599b8b4 feat: add texture destory function 2026-01-15 20:49:11 +08:00
4ae99a44a3 feat: add selection animation for piece 2026-01-15 20:05:09 +08:00
d65d4241f4 refactor: switch piece rendering from direct draws to texture system 2026-01-15 16:43:17 +08:00
cddf8d5e0b feat: add TextureManager class 2026-01-15 16:41:33 +08:00
291074c2b5 fix: resolve connection failure when join game UI is opened prematurely 2026-01-05 19:53:09 +08:00
432f6ecc85 docs: update the project roadmap 2026-01-05 14:31:51 +08:00
2ed0c6445d feat: add delayed scene destruction to prevent null references 2026-01-05 14:29:08 +08:00
cc1771f511 fix: crash on exiting network battle 2026-01-04 22:54:16 +08:00
afa3528440 refactor: improve resource cleanup logic on network battle exit 2026-01-04 22:52:54 +08:00
bc87dac00a feat: ignore .cache folder 2026-01-04 22:50:53 +08:00
d1c1d2a9ea feat: add CMake support for Linux 2026-01-04 09:10:01 +08:00
0885e925ad perf(ui): optimize online UI display 2025-12-28 21:04:58 +08:00
152d210f00 feat: add UIManager interface for external modification 2025-12-28 20:54:36 +08:00
778c17811e fix: improve handling of client connection failures 2025-12-28 17:44:41 +08:00
e366d47790 feat: add JSON support for serverPort and hostPort 2025-12-28 16:56:37 +08:00
19698996cd feat: read network config from JSON 2025-12-28 16:44:54 +08:00
2d43b73e57 feat: add player display label 2025-12-28 16:34:16 +08:00
0b937336c2 feat: add online functionality 2025-12-28 16:24:00 +08:00
ef8011c090 io_context runs in a separate thread 2025-12-28 14:02:28 +08:00
6432e3af8d Added NetworkManager Client and GameServer class 2025-12-27 20:16:57 +08:00
4f058ae768 Added OnlineGameScene and OnlineGameUIManager class 2025-12-27 20:16:06 +08:00
585c18d56a updated ignore directory 2025-12-27 20:12:54 +08:00
06817ccebc updated SDL3 version 2025-12-27 20:12:08 +08:00
2dbecfd9cc Modified changescene strategy:changescene no longer caches scenes. 2025-12-25 21:49:51 +08:00
bb0b230769 Added PopScene event 2025-12-25 21:33:53 +08:00
86d92eaf15 Added QuitButton 2025-12-25 21:32:58 +08:00
91a4f8a9fd Added Boost.Asio 2025-12-25 18:48:54 +08:00
00febb309a Removed rendering of mouse position in the scene 2025-12-25 16:12:14 +08:00
606dbb70e7 Changed StartButton postion 2025-12-25 16:02:09 +08:00
8a78bfef14 Added DebugInfo 2025-12-25 15:58:57 +08:00
ad83a4f70d Added Time class 2025-12-25 15:45:07 +08:00
178da9a277 Added vsync funtion 2025-12-25 14:49:44 +08:00
10d9988f99 Added UI RenderTexture 2025-12-25 13:06:30 +08:00
03cd5d83d1 Load config using JSON 2025-12-24 22:12:25 +08:00
19be826869 Added nlohmann/json 2025-12-24 20:54:53 +08:00
f89c20af6a Fixed the issue with the board display 2025-12-24 14:39:40 +08:00
3e9b69bcc9 Fixed the bug where the previous frame's screen was not properly cleared 2025-12-24 14:29:23 +08:00
18f3976b48 Fixed the overlooked files that needed changes 2025-12-24 14:27:24 +08:00
e8c6cee046 The calculation process has been modified, and now it is performed directly in the gameapplication class 2025-12-24 14:01:25 +08:00
cefe4a37b7 Added Tools to coordinate the postion 2025-12-24 13:59:16 +08:00
054ed22de8 Updated the plan of the game 2025-12-23 16:09:26 +08:00
903fdc37d1 Let UI render on the physical screen rather than the logical screen 2025-12-23 16:05:34 +08:00
e1245997ae Divide render into renderWorld and renderUI 2025-12-23 16:02:47 +08:00