SpaceClient/Scenes/RootNode.tscn

61 lines
1.6 KiB
Plaintext

[gd_scene load_steps=6 format=2]
[ext_resource path="res://Scripts/RootNode.gd" type="Script" id=1]
[ext_resource path="res://Scenes/Lobby.tscn" type="PackedScene" id=2]
[ext_resource path="res://Environment.tres" type="Environment" id=3]
[ext_resource path="res://Scripts/AudioStreamPlayer.gd" type="Script" id=4]
[ext_resource path="res://Audio/Music/SpaceMainTheme_r1_session.ogg" type="AudioStream" id=5]
[node name="RootNode" type="Node"]
script = ExtResource( 1 )
[node name="Lobby" parent="." instance=ExtResource( 2 )]
margin_left = 1.0
margin_top = 1.0
margin_right = 1.0
margin_bottom = 1.0
[node name="ConsoleOutput" type="TextEdit" parent="."]
visible = false
anchor_top = 0.7
anchor_right = 1.0
anchor_bottom = 1.0
readonly = true
caret_moving_by_right_click = false
__meta__ = {
"_edit_use_anchors_": false
}
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = ExtResource( 3 )
[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 5 )
autoplay = true
bus = "Music"
script = ExtResource( 4 )
[node name="DisconnectDialog" type="PopupDialog" parent="."]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -130.0
margin_top = -30.0
margin_right = 130.0
margin_bottom = 30.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Label" type="Label" parent="DisconnectDialog"]
anchor_right = 1.0
anchor_bottom = 1.0
text = "Too many players disconnected
Game is cancelled"
align = 1
valign = 1
uppercase = true
[connection signal="finished" from="AudioStreamPlayer" to="AudioStreamPlayer" method="_on_finished"]