4
0
Fork 0
WolfBox/main.tscn

96 lines
2.8 KiB
Plaintext
Raw Permalink Normal View History

2025-05-31 22:21:22 +01:00
[gd_scene load_steps=7 format=3 uid="uid://vnxt4tuhbwxm"]
[ext_resource type="Script" path="res://main.gd" id="1_ig7tw"]
[ext_resource type="Script" path="res://scripts/players.gd" id="2_wn2x6"]
[ext_resource type="Script" path="res://scripts/proxy_delegate.gd" id="4_l81nh"]
[ext_resource type="Script" path="res://scripts/chat.gd" id="4_uxo4j"]
[ext_resource type="PackedScene" uid="uid://c6u51g61fpo0b" path="res://objects/player_display.tscn" id="5_gmbtl"]
[sub_resource type="LabelSettings" id="LabelSettings_0sv3h"]
font_color = Color(0, 0, 0, 1)
[node name="Main" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_ig7tw")
auto_start = true
[node name="MultiplayerSpawner" type="MultiplayerSpawner" parent="."]
_spawnable_scenes = PackedStringArray("res://objects/player.tscn")
spawn_path = NodePath("../Players")
[node name="Players" type="Node" parent="."]
script = ExtResource("2_wn2x6")
[node name="Chat" type="Node" parent="."]
script = ExtResource("4_uxo4j")
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -102.5
offset_top = -154.0
offset_right = 102.5
grow_horizontal = 2
grow_vertical = 0
alignment = 2
[node name="Label2" type="Label" parent="VBoxContainer2"]
layout_mode = 2
size_flags_horizontal = 0
size_flags_vertical = 8
text = "Cloudy: im gay lol
Kite: omg me too
"
label_settings = SubResource("LabelSettings_0sv3h")
vertical_alignment = 2
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer2"]
layout_mode = 2
[node name="LineEdit" type="LineEdit" parent="VBoxContainer2/HBoxContainer"]
layout_mode = 2
size_flags_horizontal = 3
[node name="Button" type="Button" parent="VBoxContainer2/HBoxContainer"]
layout_mode = 2
text = "Send"
[node name="PlayerDisplayProxy" type="VBoxContainer" parent="." node_paths=PackedStringArray("model")]
layout_mode = 1
anchors_preset = -1
anchor_top = 0.245
anchor_bottom = 0.245
offset_top = -20.0
offset_right = 40.0
offset_bottom = 20.0
grow_vertical = 2
script = ExtResource("4_l81nh")
delegate_scene = ExtResource("5_gmbtl")
model = NodePath("../Players")
[node name="LaunchButtonContainer" type="HBoxContainer" parent="."]
layout_mode = 0
offset_right = 40.0
offset_bottom = 40.0
[node name="HostButton" type="Button" parent="LaunchButtonContainer"]
layout_mode = 2
text = "Host"
[node name="ClientButton" type="Button" parent="LaunchButtonContainer"]
layout_mode = 2
text = "Client
"
[connection signal="pressed" from="LaunchButtonContainer/HostButton" to="." method="launch" binds= [false]]
[connection signal="pressed" from="LaunchButtonContainer/ClientButton" to="." method="launch" binds= [true]]