完成配置载入类Config
This commit is contained in:
@@ -0,0 +1,48 @@
|
||||
{
|
||||
"window": {
|
||||
"title": "SunnyLand",
|
||||
"width": 1280,
|
||||
"height": 720,
|
||||
"resizable": true
|
||||
},
|
||||
"graphics": {
|
||||
"vsync": true
|
||||
},
|
||||
"performance": {
|
||||
"target_fps": 144
|
||||
},
|
||||
"audio": {
|
||||
"music_volume": 0.5,
|
||||
"sound_volume": 0.5
|
||||
},
|
||||
"input_mappings": {
|
||||
"pause": [
|
||||
"P",
|
||||
"Escape"
|
||||
],
|
||||
"move_down": [
|
||||
"S",
|
||||
"Down"
|
||||
],
|
||||
"jump": [
|
||||
"J",
|
||||
"Space"
|
||||
],
|
||||
"move_up": [
|
||||
"W",
|
||||
"Up"
|
||||
],
|
||||
"move_right": [
|
||||
"D",
|
||||
"Right"
|
||||
],
|
||||
"attack": [
|
||||
"K",
|
||||
"MouseLeft"
|
||||
],
|
||||
"move_left": [
|
||||
"A",
|
||||
"Left"
|
||||
]
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user