started work on multiple input bindinghs, but is very shit, so need to rewrite how these are stored

This commit is contained in:
JHDev2006
2025-09-29 13:52:10 +01:00
parent 0a5e2ea211
commit 00015d2650
5 changed files with 108 additions and 62 deletions

View File

@@ -32,6 +32,7 @@ func handle_movement(delta: float) -> void:
move_and_slide()
func destroy() -> void:
await get_tree().physics_frame
AudioManager.play_sfx("icicle_break", global_position)
summon_particles()
queue_free()

View File

@@ -41,9 +41,9 @@ var file := {
},
"controller":
{
"jump": 0,
"run": 2,
"action": 2,
"jump": [0, 1],
"run": [2, 3],
"action": [2, 3],
"move_left": "0,-1",
"move_right": "0,1",
"move_up": "1,-1",