20 lines
475 B
Plaintext
20 lines
475 B
Plaintext
[gd_scene load_steps=2 format=2]
|
|
|
|
[sub_resource type="GDScript" id=1]
|
|
script/source = "extends Node
|
|
|
|
var music = preload(\"res://nodes/MusicManager.tscn\")
|
|
var network = preload(\"res://nodes/NetworkManager.tscn\")
|
|
|
|
func _ready():
|
|
var root : Node = get_node(\"/root\")
|
|
var m = music.instance()
|
|
root.add_child(m)
|
|
var n = network.instance()
|
|
root.add_child(n)
|
|
get_tree().change_scene(\"res://scenes/login.scn\")
|
|
"
|
|
|
|
[node name="Node" type="Node"]
|
|
script = SubResource( 1 )
|