Files
SpaceBots/.svn/pristine/eb/eb59d84321cb06bbf9836a21ace3e582db1be356.svn-base
2026-01-21 23:51:53 +01:00

157 lines
4.5 KiB
Plaintext

[gd_scene load_steps=11 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="Texture2D" uid="uid://d0idf4f20sbiy" path="res://assets/2D/Back.png" id="3_0ha60"]
[ext_resource type="Texture2D" uid="uid://dlnfrfnyh16sb" path="res://assets/2D/Progress.png" id="4_4j5ol"]
[ext_resource type="Texture2D" uid="uid://c1401tikex5vt" path="res://assets/2D/Viser.png" id="5_0ha60"]
[ext_resource type="PackedScene" uid="uid://d1dplm1rdcx1h" path="res://scene/settingsmenu.tscn" id="6_4j5ol"]
[ext_resource type="Texture2D" uid="uid://csbtt12ohhvec" path="res://assets/2D/GreenCross.png" id="7_p1hux"]
[ext_resource type="PackedScene" uid="uid://c3cjtslhed2oc" path="res://scene/pausemenu.tscn" id="8_of57s"]
[sub_resource type="AudioStreamMicrophone" id="AudioStreamMicrophone_of57s"]
[sub_resource type="AudioStreamOpusChunked" id="AudioStreamOpusChunked_of57s"]
audiosamplerate = 48000
audiosamplesize = 960
mix_rate = 48000
[node name="Main" type="Control"]
process_mode = 3
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
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
[node name="Mainmenu" parent="." instance=ExtResource("2_v0l8b")]
unique_name_in_owner = true
layout_mode = 1
[node name="Pausemenu" parent="." instance=ExtResource("8_of57s")]
unique_name_in_owner = true
visible = false
layout_mode = 1
[node name="Hud" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 1
[node name="TextureProgressBar" type="TextureProgressBar" parent="Hud"]
z_index = 2
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -101.25
offset_top = -129.0
offset_right = 101.25
grow_horizontal = 2
grow_vertical = 0
value = 100.0
nine_patch_stretch = true
texture_under = ExtResource("3_0ha60")
texture_progress = ExtResource("4_4j5ol")
[node name="Identifier" type="Label" parent="Hud"]
layout_mode = 1
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -94.0
offset_bottom = 23.0
grow_horizontal = 0
[node name="Viser" type="TextureRect" parent="Hud"]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("5_0ha60")
stretch_mode = 3
[node name="InteractCross" type="TextureRect" parent="Hud"]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -160.0
offset_top = -120.0
offset_right = -120.0
offset_bottom = -80.0
grow_horizontal = 2
grow_vertical = 0
texture = ExtResource("7_p1hux")
[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")
spawn_path = NodePath("../Maps")
[node name="PlayerSpawner" type="MultiplayerSpawner" parent="."]
_spawnable_scenes = PackedStringArray("uid://rvvjguhqjtpb")
spawn_path = NodePath("../Players")
[node name="VoiceInput" type="AudioStreamPlayer" parent="."]
stream = SubResource("AudioStreamMicrophone_of57s")
autoplay = true
bus = &"Mic"
[node name="DebugVoiceOutput" type="AudioStreamPlayer3D" parent="."]
stream = SubResource("AudioStreamOpusChunked_of57s")
autoplay = true