53 lines
1.7 KiB
Plaintext
53 lines
1.7 KiB
Plaintext
[gd_scene load_steps=6 format=3 uid="uid://cdw72hewwmypn"]
|
|
|
|
[ext_resource type="Theme" uid="uid://bh56my8b2htnr" path="res://themes/menu.tres" id="1_5cn0b"]
|
|
[ext_resource type="Script" uid="uid://47impoi24o7g" path="res://game/menu/level_selection.gd" id="1_fb5q3"]
|
|
[ext_resource type="PackedScene" uid="uid://bmn74wc2vophn" path="res://game/levels/test_level.tscn" id="3_3oqjo"]
|
|
|
|
[sub_resource type="InputEventAction" id="InputEventAction_3oqjo"]
|
|
action = &"ui_cancel"
|
|
|
|
[sub_resource type="Shortcut" id="Shortcut_n2wmw"]
|
|
events = [SubResource("InputEventAction_3oqjo")]
|
|
|
|
[node name="LevelSelection" type="Control"]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme = ExtResource("1_5cn0b")
|
|
script = ExtResource("1_fb5q3")
|
|
levels = Array[PackedScene]([ExtResource("3_3oqjo"), ExtResource("3_3oqjo")])
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="MarginContainer/VBoxContainer"]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
size_flags_vertical = 6
|
|
columns = 4
|
|
|
|
[node name="Control" type="Control" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
|
|
[node name="MainMenuButton" type="Button" parent="MarginContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
shortcut = SubResource("Shortcut_n2wmw")
|
|
text = "Main menu"
|
|
|
|
[connection signal="pressed" from="MarginContainer/VBoxContainer/MainMenuButton" to="." method="_on_main_menu_button_pressed"]
|