Files
SpaceBots/scene/main.tscn
2026-01-21 23:40:20 +01:00

119 lines
3.7 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://c240icwf4uov8"]
[ext_resource type="Script" uid="uid://b4avd5n3wv18p" path="res://script/main.gd" id="1"]
[ext_resource type="PackedScene" uid="uid://e5txgsvnchha" path="res://scene/mainmenu.tscn" id="2_v0l8b"]
[ext_resource type="PackedScene" uid="uid://mv0dgwdlha3m" path="res://actors/Player/Hud.tscn" id="5_0ha60"]
[ext_resource type="PackedScene" uid="uid://c7i4riys4l3py" path="res://scene/MapScreen.tscn" id="5_p1hux"]
[ext_resource type="PackedScene" uid="uid://d1dplm1rdcx1h" path="res://scene/settingsmenu.tscn" id="6_4j5ol"]
[ext_resource type="PackedScene" uid="uid://cwxq3udib6v5f" path="res://scene/LoadingScreen.tscn" id="7_b5f6u"]
[ext_resource type="PackedScene" uid="uid://xxv8k4pe68oo" path="res://scene/missionEndScreen.tscn" id="7_of57s"]
[ext_resource type="PackedScene" uid="uid://c3cjtslhed2oc" path="res://scene/pausemenu.tscn" id="8_of57s"]
[sub_resource type="AudioStreamGenerator" id="AudioStreamGenerator_0ha60"]
buffer_length = 0.1
[node name="Main" type="Control"]
process_mode = 3
clip_contents = true
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
size_flags_horizontal = 3
size_flags_vertical = 3
mouse_filter = 2
script = ExtResource("1")
metadata/_edit_horizontal_guides_ = [-61.0]
[node name="Dialogs" type="Node" parent="."]
[node name="DisconnectDialog" type="AcceptDialog" parent="Dialogs"]
title = "Server connection:"
dialog_text = "Connection closed"
[node name="InviteCodeDialog" type="AcceptDialog" parent="Dialogs"]
auto_translate_mode = 1
title = "Lobby code:"
initial_position = 2
size = Vector2i(158, 100)
dialog_text = "Error"
[node name="JoinGameDialog" type="AcceptDialog" parent="Dialogs"]
auto_translate_mode = 1
title = "Logging in..."
initial_position = 2
size = Vector2i(158, 100)
dialog_text = "Error"
[node name="ErrorDialog" type="AcceptDialog" parent="Dialogs"]
auto_translate_mode = 1
title = "Logging in..."
initial_position = 2
size = Vector2i(158, 100)
dialog_text = "Error"
[node name="Settingsmenu" parent="." instance=ExtResource("6_4j5ol")]
unique_name_in_owner = true
visible = false
layout_mode = 1
focus_mode = 2
focus_behavior_recursive = 2
mouse_filter = 1
[node name="Mainmenu" parent="." instance=ExtResource("2_v0l8b")]
unique_name_in_owner = true
layout_mode = 1
focus_mode = 2
focus_behavior_recursive = 2
mouse_filter = 1
[node name="Pausemenu" parent="." instance=ExtResource("8_of57s")]
unique_name_in_owner = true
visible = false
layout_mode = 1
focus_behavior_recursive = 2
mouse_filter = 1
[node name="MapScreen" parent="." instance=ExtResource("5_p1hux")]
visible = false
modulate = Color(1, 1, 1, 0.69803923)
layout_mode = 1
focus_mode = 2
focus_behavior_recursive = 2
[node name="MissionEndScreen" parent="." instance=ExtResource("7_of57s")]
visible = false
layout_mode = 1
[node name="LoadingScreen" parent="." instance=ExtResource("7_b5f6u")]
visible = false
layout_mode = 1
focus_mode = 2
focus_behavior_recursive = 2
mouse_filter = 2
[node name="Hud" parent="." instance=ExtResource("5_0ha60")]
visible = false
layout_mode = 1
focus_mode = 2
focus_behavior_recursive = 2
mouse_filter = 2
[node name="Maps" type="Node3D" parent="."]
[node name="Players" type="Node3D" parent="."]
[node name="Spectators" type="Node3D" parent="."]
[node name="MapSpawner" type="MultiplayerSpawner" parent="."]
_spawnable_scenes = PackedStringArray("uid://bco4seshb8fjf", "uid://k0jpd2sugl7b")
[node name="PlayerSpawner" type="MultiplayerSpawner" parent="."]
_spawnable_scenes = PackedStringArray("uid://rvvjguhqjtpb")
spawn_path = NodePath("../Players")
[node name="VoiceLoopback" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamGenerator_0ha60")