添加 UI 资源并重构角色类
添加了新的 UI 资源:logo.png、uiskin.atlas 和 uiskin.json,以改进界面设计。 移除了过时的 FighterController 和 GameCore 类,以精简代码库。 引入了新的角色类:FighterList 和 Reimu,增加了角色选择选项。 实现了新的桌面屏幕:CharacterSelectScreen(角色选择屏幕)、GameScreen(游戏屏幕)、MainMenuScreen(主菜单屏幕)和 StartScreen(开始屏幕),以改善用户导航。 通过新的 ConnectClient、ConnectServer 和 NetworkManager 类建立了网络功能。 更新了工具类:ClearScreen、Font 和 SimpleFormatter,以提升功能。 创建了新的 ButtonActions 类来处理按钮交互。
This commit is contained in:
24
target/classes/ui/uiskin.atlas
Normal file
24
target/classes/ui/uiskin.atlas
Normal file
@@ -0,0 +1,24 @@
|
||||
uiskin.png
|
||||
format: RGBA8888
|
||||
filter: Nearest,Nearest
|
||||
repeat: none
|
||||
button-up
|
||||
rotate: false
|
||||
xy: 0, 0
|
||||
size: 200, 60
|
||||
split: 10, 10, 10, 10
|
||||
orig: 200, 60
|
||||
offset: 0, 0
|
||||
button-down
|
||||
rotate: false
|
||||
xy: 0, 60
|
||||
size: 200, 60
|
||||
split: 10, 10, 10, 10
|
||||
orig: 200, 60
|
||||
offset: 0, 0
|
||||
white
|
||||
rotate: false
|
||||
xy: 0, 120
|
||||
size: 1, 1
|
||||
orig: 1, 1
|
||||
offset: 0, 0
|
||||
Reference in New Issue
Block a user