change quick-select to up/down

This commit is contained in:
Haze Weathers 2024-07-08 17:29:39 -04:00
parent 6cb90da8c6
commit 9ca36421dc
2 changed files with 2 additions and 14 deletions

View file

@ -131,12 +131,12 @@ func _gui_input(event: InputEvent) -> void:
selected_shard = posmod(selected_shard - 1, 8)
shard_title.text = LevelData.levels[selected_level].shard_titles[selected_shard]
shard_arrow.position.x = filled_shards.get_child(selected_shard).position.x
elif event.is_action_pressed("next_level"):
elif event.is_action_pressed("ui_down"):
var level = int(clamp(selected_level + 1, 0, LevelData.levels.size() - 1))
if _can_travel(level):
_select_level(level)
_update_stats(false)
elif event.is_action_pressed("prev_level"):
elif event.is_action_pressed("ui_up"):
var level = int(clamp(selected_level - 1, 0, LevelData.levels.size() - 1))
if _can_travel(level):
_select_level(level)