changes UI to a global singleton
This commit is contained in:
parent
aa4afc4c4b
commit
e3aec75404
16 changed files with 371 additions and 119 deletions
|
|
@ -18,8 +18,9 @@ config/icon="res://assets/logo/logo.png"
|
|||
|
||||
[autoload]
|
||||
|
||||
Inventory="*res://globals/inventory.gd"
|
||||
UI="*res://scenes/ui/ui.gd"
|
||||
SaveGame="*res://globals/save_game.gd"
|
||||
SaveData="*res://resources/save_data.gd"
|
||||
|
||||
[display]
|
||||
|
||||
|
|
@ -29,6 +30,10 @@ window/stretch/mode="canvas_items"
|
|||
window/stretch/aspect="expand"
|
||||
window/handheld/orientation=1
|
||||
|
||||
[global_group]
|
||||
|
||||
Persist="Contains all nodes that need to be saved"
|
||||
|
||||
[input]
|
||||
|
||||
joystick_right_right={
|
||||
|
|
@ -41,6 +46,16 @@ joystick_right_left={
|
|||
"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":2,"axis_value":-1.0,"script":null)
|
||||
]
|
||||
}
|
||||
joystick_right_up={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":-1.0,"script":null)
|
||||
]
|
||||
}
|
||||
joystick_right_down={
|
||||
"deadzone": 0.5,
|
||||
"events": [Object(InputEventJoypadMotion,"resource_local_to_scene":false,"resource_name":"","device":-1,"axis":3,"axis_value":1.0,"script":null)
|
||||
]
|
||||
}
|
||||
|
||||
[input_devices]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue