forked from team-sg/hero-mark-2
mkey sound and level design adjustments
This commit is contained in:
parent
3cfcc4eef7
commit
624739a970
8 changed files with 29 additions and 11 deletions
|
@ -43,6 +43,7 @@ const a_fail_shard = preload("res://audio/sounds/fail_shard.ogg")
|
|||
const a_final_score = preload("res://audio/sounds/final_score.ogg")
|
||||
const a_land = preload("res://audio/sounds/land.ogg")
|
||||
const a_teleport = preload("res://audio/sounds/teleport.ogg")
|
||||
const a_mkey = preload("res://audio/sounds/mkey.ogg")
|
||||
|
||||
var loop_section = null
|
||||
var has_looped = false
|
||||
|
|
|
@ -34,6 +34,8 @@ func _physics_process(delta):
|
|||
#DEBUG
|
||||
if debug == true && !entry && !entry_index > 0:
|
||||
#Move player to mouse
|
||||
if Input.is_action_just_pressed("debug_move_player"):
|
||||
Audio.play_sound(Audio.a_mkey,Audio.ac_jump)
|
||||
if Input.is_action_pressed("debug_move_player"):
|
||||
var nodes = get_tree().get_nodes_in_group("player")
|
||||
if not nodes.empty():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue