forked from team-sg/hero-mark-2
pausing only possible in map.gd
This commit is contained in:
parent
aa86cbc928
commit
7b6d0197cd
8 changed files with 111 additions and 29 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue