pausing only possible in map.gd

This commit is contained in:
pennyrigate 2023-03-03 23:05:31 -05:00
parent aa86cbc928
commit 7b6d0197cd
8 changed files with 111 additions and 29 deletions

View file

@ -47,11 +47,11 @@ func _physics_process(delta):
#Draw Shard Title
shard_title.text = level.shard_titles[current_shard]
#Select level
if Input.is_action_just_pressed("jump"):
if Input.is_action_just_pressed("ui_accept"):
Game.current_level = current_level
Game.change_map(level.scene)
#Toggle lives mode
if Input.is_action_just_pressed("shoot"):
if Input.is_action_just_pressed("ui_cancel"):
Game.use_lives = !Game.use_lives
Save.set_options()
if Game.use_lives: