Commit Graph

126 Commits

Author SHA1 Message Date
c2fd549f49 Change button color to black 2025-12-23 16:00:18 +08:00
067d35b4e5 Change GameConfig to WindowConfig 2025-12-23 15:59:42 +08:00
473666f95c change logictexture to 640x360 2025-12-22 13:32:55 +08:00
27801278a1 Change Fix the scale bug, and abandon using sfml and still use sdl3 2025-12-21 18:31:32 +08:00
86dce63e74 Added a lots of the file to write the pixel game but due to some problem ,i dicide to change sdl3 to sfml,a more modern lib 2025-12-21 14:58:33 +08:00
96b005e2ef Using WindowManager to begin and end frame 2025-12-19 22:47:18 +08:00
c8ab71738a Added fullscreen funtion 2025-12-19 22:46:21 +08:00
551999c142 Added some infomation about the project 2025-12-15 09:50:59 +08:00
zhenyan121
2c46e2571c Change LICENSE 2025-12-15 09:40:23 +08:00
ad3b8d7732 Added GameOver Scene 2025-12-14 10:33:06 +08:00
27ff62df14 Added drawMovementRange function 2025-12-13 19:53:02 +08:00
98a7b34bfa Rename GameRenderer to BoardRenderer 2025-12-13 18:56:50 +08:00
fccff79a6a Change frame control to the scene 2025-12-13 18:49:55 +08:00
3d73994360 Modified the rule to only allow moves for selected piece 2025-12-13 18:44:27 +08:00
034c1a858e Render the Actiontype 2025-12-13 18:35:49 +08:00
4a71e4f742 Added a overload setText 2025-12-13 18:35:07 +08:00
e697d6f797 Fixed a bug where abnormal display occurred after scene switching when the window was resized 2025-12-13 16:28:39 +08:00
455bcc8a50 Added the future plan 2025-12-13 16:08:27 +08:00
be106e3865 Added button handle event 2025-12-13 16:08:11 +08:00
6f5c378cb0 Added SceneEvent callback 2025-12-13 16:07:22 +08:00
18953d8124 Added pass m_window to SceneManager 2025-12-13 16:06:28 +08:00
e4e40afe05 Added MainMenuScene 2025-12-13 16:05:24 +08:00
a62b73027b Add automatic update Button rect function 2025-12-13 16:04:30 +08:00
9715e23215 Update Textrender logic 2025-12-13 16:02:51 +08:00
1d1f71af19 Add label component 2025-12-13 16:02:14 +08:00
1e2555a35b Improved fontmanager and textrenderer class with automatic cache cleanup 2025-12-13 09:56:03 +08:00
5b3e80f4fc Added functionality to automatically copy the assets folder to the output directory after build 2025-12-11 16:49:18 +08:00
6637d0f850 Added UI class and UI rendering class 2025-12-11 16:46:54 +08:00
7b098e0542 Improved font rendering interface 2025-12-11 16:44:53 +08:00
f6268951b7 Add the textrender function 2025-12-09 22:46:37 +08:00
7067214c34 Add TTF support 2025-12-08 21:16:20 +08:00
f8f397af50 Remove UIType.h 2025-12-08 21:15:53 +08:00
deffdb01b6 Add copy mingw cpp lib to output 2025-12-07 20:47:56 +08:00
ee46e289f5 Add SourceHanSans 2025-12-07 15:54:19 +08:00
ecd317e020 Add mouse motion 2025-12-07 15:53:59 +08:00
4e99e4030b use CoordinateTools 2025-12-07 15:53:34 +08:00
864048a733 change the location of initSDL 2025-12-07 15:53:05 +08:00
55dc845613 add CoordinateTools 2025-12-07 15:52:23 +08:00
b4551b462b using FetchContent to control lib 2025-12-07 15:51:19 +08:00
77adfc55d4 remove submodule 2025-12-07 15:26:42 +08:00
332ac2907b add freetype as submodule locked to VER-2-14-1 2025-12-07 14:34:05 +08:00
a66c70f0b7 Fix after disconnect the change of parentID bug 2025-12-07 12:06:40 +08:00
a6403953ef Add draw piece function 2025-12-06 23:01:43 +08:00
1a1e783e94 Use GameApplication to cnotrol game 2025-12-06 18:40:16 +08:00
32eb465f39 Use GameScene to control render 2025-12-06 18:39:40 +08:00
995c01bd8c Remove the game logic from InputManager 2025-12-06 18:38:36 +08:00
ecbf7dad90 Add CoordinateConverter to get logical postion 2025-12-06 18:37:53 +08:00
dfa2fddd9d change BoardRenderer name to GameRenderer 2025-12-06 14:11:51 +08:00
244bf52003 Update structure information 2025-12-06 10:45:29 +08:00
b1e4c81731 try to change input code 2025-12-06 10:36:43 +08:00