mirror of
https://github.com/WolfangT/pixel-crusade.git
synced 2026-02-16 15:21:15 -05:00
add model base
This commit is contained in:
16
main.gd
Normal file
16
main.gd
Normal file
@@ -0,0 +1,16 @@
|
||||
extends Node
|
||||
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
if OS.has_feature("dedicated_server") or DisplayServer.get_name() == "headless":
|
||||
RenderingServer.render_loop_enabled = false
|
||||
else:
|
||||
pass
|
||||
#get_tree().root.get_node("MusicPlayer").play()
|
||||
get_tree().root.add_child.call_deferred(load("res://src/main_game.tscn").instantiate())
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(_delta: float) -> void:
|
||||
pass
|
||||
Reference in New Issue
Block a user