177 lines
5.1 KiB
Text
177 lines
5.1 KiB
Text
|
|
[gd_scene load_steps=3 format=3 uid="uid://c17svupm3ctqe"]
|
||
|
|
|
||
|
|
[ext_resource type="Script" path="res://TestRot.gd" id="1_86fiq"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://d2i5vboeyq8qx" path="res://UI/hex_white.svg" id="1_hmexp"]
|
||
|
|
|
||
|
|
[node name="Control" type="Control"]
|
||
|
|
layout_mode = 3
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="Control" type="Control" parent="."]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
pivot_offset = Vector2(25.6, 25.6)
|
||
|
|
script = ExtResource("1_86fiq")
|
||
|
|
|
||
|
|
[node name="CornerRect" type="Control" parent="Control"]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 0
|
||
|
|
offset_right = 64.0
|
||
|
|
offset_bottom = 64.0
|
||
|
|
scale = Vector2(0.1, 0.1)
|
||
|
|
|
||
|
|
[node name="TextureRect" type="TextureRect" parent="Control/CornerRect"]
|
||
|
|
layout_mode = 0
|
||
|
|
offset_right = 40.0
|
||
|
|
offset_bottom = 40.0
|
||
|
|
texture = ExtResource("1_hmexp")
|
||
|
|
|
||
|
|
[node name="Level0Main" type="Control" parent="Control"]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -20.0
|
||
|
|
offset_top = -20.0
|
||
|
|
offset_right = 20.0
|
||
|
|
offset_bottom = 20.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
metadata/level = 0
|
||
|
|
|
||
|
|
[node name="MainMenu" type="Control" parent="Control/Level0Main"]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="Center" type="Control" parent="Control/Level0Main/MainMenu"]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="PanelContainer" type="PanelContainer" parent="Control/Level0Main/MainMenu/Center"]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -125.5
|
||
|
|
offset_top = -99.5
|
||
|
|
offset_right = 125.5
|
||
|
|
offset_bottom = 99.5
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="MarginContainer" type="MarginContainer" parent="Control/Level0Main/MainMenu/Center/PanelContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/margin_left = 15
|
||
|
|
theme_override_constants/margin_top = 15
|
||
|
|
theme_override_constants/margin_right = 15
|
||
|
|
theme_override_constants/margin_bottom = 15
|
||
|
|
|
||
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control/Level0Main/MainMenu/Center/PanelContainer/MarginContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/separation = 15
|
||
|
|
|
||
|
|
[node name="HostButton" type="Button" parent="Control/Level0Main/MainMenu/Center/PanelContainer/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Host Game"
|
||
|
|
|
||
|
|
[node name="JoinButton" type="Button" parent="Control/Level0Main/MainMenu/Center/PanelContainer/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Join Game"
|
||
|
|
|
||
|
|
[node name="RulesButton" type="Button" parent="Control/Level0Main/MainMenu/Center/PanelContainer/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Rules (Opens Web Browser)"
|
||
|
|
|
||
|
|
[node name="ExitButton" type="Button" parent="Control/Level0Main/MainMenu/Center/PanelContainer/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Exit"
|
||
|
|
|
||
|
|
[node name="Level1" type="Control" parent="Control"]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
rotation = 1.0472
|
||
|
|
metadata/level = 1
|
||
|
|
|
||
|
|
[node name="MultiplayerJoin" type="Control" parent="Control/Level1"]
|
||
|
|
modulate = Color(1, 1, 1, 0)
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 15
|
||
|
|
anchor_right = 1.0
|
||
|
|
anchor_bottom = 1.0
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="PanelContainer" type="PanelContainer" parent="Control/Level1/MultiplayerJoin"]
|
||
|
|
layout_mode = 1
|
||
|
|
anchors_preset = 8
|
||
|
|
anchor_left = 0.5
|
||
|
|
anchor_top = 0.5
|
||
|
|
anchor_right = 0.5
|
||
|
|
anchor_bottom = 0.5
|
||
|
|
offset_left = -115.0
|
||
|
|
offset_top = -76.5
|
||
|
|
offset_right = 115.0
|
||
|
|
offset_bottom = 76.5
|
||
|
|
grow_horizontal = 2
|
||
|
|
grow_vertical = 2
|
||
|
|
|
||
|
|
[node name="MarginContainer" type="MarginContainer" parent="Control/Level1/MultiplayerJoin/PanelContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/margin_left = 15
|
||
|
|
theme_override_constants/margin_top = 15
|
||
|
|
theme_override_constants/margin_right = 15
|
||
|
|
theme_override_constants/margin_bottom = 15
|
||
|
|
|
||
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="Control/Level1/MultiplayerJoin/PanelContainer/MarginContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/separation = 15
|
||
|
|
|
||
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="Control/Level1/MultiplayerJoin/PanelContainer/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
|
||
|
|
[node name="LobbyCodeLabel" type="Label" parent="Control/Level1/MultiplayerJoin/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Lobby-Code: "
|
||
|
|
|
||
|
|
[node name="LobbyCodeInput" type="LineEdit" parent="Control/Level1/MultiplayerJoin/PanelContainer/MarginContainer/VBoxContainer/HBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
theme_override_constants/minimum_character_width = 6
|
||
|
|
max_length = 6
|
||
|
|
shortcut_keys_enabled = false
|
||
|
|
|
||
|
|
[node name="ConnectButton" type="Button" parent="Control/Level1/MultiplayerJoin/PanelContainer/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Connect"
|
||
|
|
|
||
|
|
[node name="BackButton" type="Button" parent="Control/Level1/MultiplayerJoin/PanelContainer/MarginContainer/VBoxContainer"]
|
||
|
|
layout_mode = 2
|
||
|
|
text = "Back to menu"
|