wired debug menu into game scene
parent
381bfd9e3d
commit
cef6dd5a21
|
|
@ -3,8 +3,11 @@ extends Node2D
|
||||||
@onready var _timer_label: Label = $CanvasLayer/TimerLabel
|
@onready var _timer_label: Label = $CanvasLayer/TimerLabel
|
||||||
@onready var _spawn_control = $SpawnControl
|
@onready var _spawn_control = $SpawnControl
|
||||||
|
|
||||||
|
var _debug_menu_script = preload("res://scripts/debug_menu.gd")
|
||||||
|
|
||||||
func _ready():
|
func _ready():
|
||||||
MusicManager.play(preload("res://assets/music&sfx/music/ashveil-355633.mp3"))
|
MusicManager.play(preload("res://assets/music&sfx/music/ashveil-355633.mp3"))
|
||||||
|
add_child(_debug_menu_script.new())
|
||||||
|
|
||||||
func _process(_delta: float) -> void:
|
func _process(_delta: float) -> void:
|
||||||
var t = int(_spawn_control.elapsed_time)
|
var t = int(_spawn_control.elapsed_time)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue