AeThex-Engine-Core/showcase_games/circuit_logic/scenes/game.tscn

149 lines
3.9 KiB
Text

[gd_scene load_steps=2 format=3 uid="uid://circuit_game"]
[ext_resource type="Script" path="res://scripts/game/game_controller.gd" id="1_game"]
[node name="Game" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
script = ExtResource("1_game")
[node name="Background" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.12, 0.14, 0.18, 1)
[node name="GridContainer" type="Control" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -250.0
offset_top = -250.0
offset_right = 250.0
offset_bottom = 250.0
[node name="UI" type="Control" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
[node name="TopBar" type="HBoxContainer" parent="UI"]
layout_mode = 1
anchors_preset = 10
anchor_right = 1.0
offset_top = 10.0
offset_bottom = 60.0
theme_override_constants/separation = 20
[node name="BackButton" type="Button" parent="UI/TopBar"]
custom_minimum_size = Vector2(100, 40)
layout_mode = 2
text = "< BACK"
[node name="LevelName" type="Label" parent="UI/TopBar"]
layout_mode = 2
size_flags_horizontal = 3
theme_override_colors/font_color = Color(0.8, 0.9, 1, 1)
theme_override_font_sizes/font_size = 24
text = "Level 1: First Steps"
horizontal_alignment = 1
vertical_alignment = 1
[node name="MovesLabel" type="Label" parent="UI/TopBar"]
custom_minimum_size = Vector2(120, 0)
layout_mode = 2
theme_override_colors/font_color = Color(0.6, 0.7, 0.8, 1)
theme_override_font_sizes/font_size = 20
text = "Moves: 0"
horizontal_alignment = 2
vertical_alignment = 1
[node name="BottomBar" type="HBoxContainer" parent="UI"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -60.0
offset_bottom = -10.0
theme_override_constants/separation = 20
[node name="ResetButton" type="Button" parent="UI/BottomBar"]
custom_minimum_size = Vector2(120, 40)
layout_mode = 2
text = "RESET [R]"
[node name="UndoButton" type="Button" parent="UI/BottomBar"]
custom_minimum_size = Vector2(120, 40)
layout_mode = 2
text = "UNDO [Z]"
[node name="Spacer" type="Control" parent="UI/BottomBar"]
layout_mode = 2
size_flags_horizontal = 3
[node name="ParLabel" type="Label" parent="UI/BottomBar"]
custom_minimum_size = Vector2(150, 0)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.85, 0.3, 0.8)
theme_override_font_sizes/font_size = 18
text = "Par: 5 moves"
horizontal_alignment = 2
vertical_alignment = 1
[node name="WinPanel" type="PanelContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -180.0
offset_top = -140.0
offset_right = 180.0
offset_bottom = 140.0
[node name="VBox" type="VBoxContainer" parent="WinPanel"]
layout_mode = 2
theme_override_constants/separation = 15
[node name="Title" type="Label" parent="WinPanel/VBox"]
layout_mode = 2
theme_override_colors/font_color = Color(0.3, 0.8, 0.5, 1)
theme_override_font_sizes/font_size = 36
text = "SOLVED!"
horizontal_alignment = 1
[node name="StarsLabel" type="Label" parent="WinPanel/VBox"]
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.85, 0.3, 1)
theme_override_font_sizes/font_size = 32
text = "★ ★ ★"
horizontal_alignment = 1
[node name="MovesResult" type="Label" parent="WinPanel/VBox"]
layout_mode = 2
theme_override_colors/font_color = Color(0.7, 0.8, 0.9, 1)
theme_override_font_sizes/font_size = 18
text = "Completed in 5 moves"
horizontal_alignment = 1
[node name="NextButton" type="Button" parent="WinPanel/VBox"]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
size_flags_horizontal = 4
text = "NEXT LEVEL"
[node name="MenuButton" type="Button" parent="WinPanel/VBox"]
custom_minimum_size = Vector2(160, 35)
layout_mode = 2
size_flags_horizontal = 4
text = "MENU"