添加了新的 UI 资源:logo.png、uiskin.atlas 和 uiskin.json,以改进界面设计。 移除了过时的 FighterController 和 GameCore 类,以精简代码库。 引入了新的角色类:FighterList 和 Reimu,增加了角色选择选项。 实现了新的桌面屏幕:CharacterSelectScreen(角色选择屏幕)、GameScreen(游戏屏幕)、MainMenuScreen(主菜单屏幕)和 StartScreen(开始屏幕),以改善用户导航。 通过新的 ConnectClient、ConnectServer 和 NetworkManager 类建立了网络功能。 更新了工具类:ClearScreen、Font 和 SimpleFormatter,以提升功能。 创建了新的 ButtonActions 类来处理按钮交互。
46 lines
1.0 KiB
JSON
46 lines
1.0 KiB
JSON
{
|
|
"com.badlogic.gdx.graphics.g2d.BitmapFont": {
|
|
"default-font": {
|
|
"file": "default.fnt"
|
|
}
|
|
},
|
|
"com.badlogic.gdx.graphics.Color": {
|
|
"black": {
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 1
|
|
},
|
|
"white": {
|
|
"r": 1,
|
|
"g": 1,
|
|
"b": 1,
|
|
"a": 1
|
|
}
|
|
},
|
|
"com.badlogic.gdx.scenes.scene2d.ui.Skin$TintedDrawable": {
|
|
"dialogDim": {
|
|
"name": "white",
|
|
"color": {
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 0.45
|
|
}
|
|
}
|
|
},
|
|
"com.badlogic.gdx.scenes.scene2d.ui.Button$ButtonStyle": {
|
|
"default": {
|
|
"up": "button-up",
|
|
"down": "button-down"
|
|
}
|
|
},
|
|
"com.badlogic.gdx.scenes.scene2d.ui.TextButton$TextButtonStyle": {
|
|
"default": {
|
|
"up": "button-up",
|
|
"down": "button-down",
|
|
"font": "default-font",
|
|
"fontColor": "black"
|
|
}
|
|
}
|
|
} |