15 lines
378 B
GDScript
15 lines
378 B
GDScript
extends Control
|
|
|
|
# Called when the node enters the scene tree for the first time.
|
|
func _ready():
|
|
pass # Replace with function body.
|
|
randomize()
|
|
|
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
|
func _process(delta):
|
|
pass
|
|
|
|
func _on_start_game_btn_pressed():
|
|
get_tree().get_root().add_child(preload("res://scenes/level.tscn").instantiate())
|
|
hide()
|