124 lines
4.1 KiB
Plaintext
124 lines
4.1 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://b4w53wqg1vt4g"]
|
|
|
|
[ext_resource type="Script" uid="uid://bmxs8bmhtxvxw" path="res://MetaGameScreen.cs" id="1"]
|
|
[ext_resource type="Theme" uid="uid://b8egvkt2yaoqp" path="res://program.tres" id="1_as582"]
|
|
[ext_resource type="PackedScene" uid="uid://d1k0kumi1bar" path="res://robot.tscn" id="2"]
|
|
[ext_resource type="Texture2D" uid="uid://ydmag3dqidid" path="res://images/options.png" id="4_83i6p"]
|
|
|
|
[node name="MetaGameScreen" type="Control"]
|
|
layout_mode = 3
|
|
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
|
|
theme = ExtResource("1_as582")
|
|
script = ExtResource("1")
|
|
RobotScene = ExtResource("2")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = -338.0
|
|
offset_top = -211.5
|
|
offset_right = 338.0
|
|
offset_bottom = 211.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_constants/margin_left = 20
|
|
theme_override_constants/margin_top = 20
|
|
theme_override_constants/margin_right = 20
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="Panel" type="Panel" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 20
|
|
theme_override_constants/margin_top = 20
|
|
theme_override_constants/margin_right = 20
|
|
theme_override_constants/margin_bottom = 20
|
|
|
|
[node name="MainVBox" type="VBoxContainer" parent="MarginContainer/MarginContainer"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="Label" type="Label" parent="MarginContainer/MarginContainer/MainVBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 48
|
|
text = "Start new game"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="SeedRow" type="HBoxContainer" parent="MarginContainer/MarginContainer/MainVBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="SeedLabel" type="Label" parent="MarginContainer/MarginContainer/MainVBox/SeedRow"]
|
|
custom_minimum_size = Vector2(100, 58)
|
|
layout_mode = 2
|
|
text = "Seed:"
|
|
vertical_alignment = 1
|
|
|
|
[node name="SeedLineEdit" type="LineEdit" parent="MarginContainer/MarginContainer/MainVBox/SeedRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
placeholder_text = "Enter seed..."
|
|
|
|
[node name="RandomizeButton" type="Button" parent="MarginContainer/MarginContainer/MainVBox/SeedRow"]
|
|
layout_mode = 2
|
|
text = "Randomize"
|
|
|
|
[node name="DifficultyRow" type="HBoxContainer" parent="MarginContainer/MarginContainer/MainVBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 8
|
|
|
|
[node name="DifficultyLabel" type="Label" parent="MarginContainer/MarginContainer/MainVBox/DifficultyRow"]
|
|
custom_minimum_size = Vector2(100, 58)
|
|
layout_mode = 2
|
|
text = "Difficulty:"
|
|
vertical_alignment = 1
|
|
|
|
[node name="DifficultyOptionButton" type="OptionButton" parent="MarginContainer/MarginContainer/MainVBox/DifficultyRow"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 0
|
|
|
|
[node name="RobotsSection" type="VBoxContainer" parent="MarginContainer/MarginContainer/MainVBox"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 4
|
|
|
|
[node name="RobotsLabel" type="Label" parent="MarginContainer/MarginContainer/MainVBox/RobotsSection"]
|
|
custom_minimum_size = Vector2(0, 58)
|
|
layout_mode = 2
|
|
text = "Choose your robot:"
|
|
vertical_alignment = 1
|
|
|
|
[node name="RobotsContainer" type="HBoxContainer" parent="MarginContainer/MarginContainer/MainVBox/RobotsSection"]
|
|
custom_minimum_size = Vector2(0, 200)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_constants/separation = 12
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/MarginContainer/MainVBox"]
|
|
layout_mode = 2
|
|
|
|
[node name="OptionsButton" type="Button" parent="MarginContainer/MarginContainer/MainVBox/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(100, 100)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 2
|
|
tooltip_text = "Options"
|
|
icon = ExtResource("4_83i6p")
|
|
icon_alignment = 1
|
|
|
|
[node name="StartButton" type="Button" parent="MarginContainer/MarginContainer/MainVBox/HBoxContainer"]
|
|
unique_name_in_owner = true
|
|
custom_minimum_size = Vector2(200, 100)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 10
|
|
text = "Start"
|