424 lines
13 KiB
Plaintext
424 lines
13 KiB
Plaintext
[gd_scene load_steps=33 format=3 uid="uid://cxet2lvdco2ak"]
|
|
|
|
[ext_resource type="Script" uid="uid://duhi4pfoa45j1" path="res://Game/Menu/mapselector.gd" id="1_cnef1"]
|
|
[ext_resource type="Texture2D" uid="uid://bgy114b67j3kg" path="res://Assets/Others/8-bit-graphics-pixels-scene-with-castle.jpg" id="1_jteil"]
|
|
[ext_resource type="FontFile" uid="uid://bu44ne346ymoe" path="res://Assets/Others/Canterbury.ttf" id="2_2uj2s"]
|
|
[ext_resource type="Texture2D" uid="uid://cheweipqa125e" path="res://Assets/Maps/map1.png" id="3_2uj2s"]
|
|
[ext_resource type="Texture2D" uid="uid://dffphf4kn5sk2" path="res://Assets/Maps/map2.png" id="5_mjmwi"]
|
|
[ext_resource type="Texture2D" uid="uid://fevwxt4ody3f" path="res://Assets/Maps/map3.png" id="6_5yqcp"]
|
|
[ext_resource type="Texture2D" uid="uid://djv5n53tndiig" path="res://Assets/Others/padlock.png" id="6_udeaf"]
|
|
[ext_resource type="Texture2D" uid="uid://c3ig1iy1m4ydq" path="res://Assets/Maps/map4.png" id="8_cg1t8"]
|
|
[ext_resource type="Texture2D" uid="uid://c0q8h850738on" path="res://Assets/Maps/map5.png" id="9_losb8"]
|
|
[ext_resource type="Texture2D" uid="uid://b3dk0ipi0galp" path="res://Assets/Maps/map6.png" id="9_rjq3w"]
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_cnef1"]
|
|
texture = ExtResource("1_jteil")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_cg1t8"]
|
|
texture = ExtResource("3_2uj2s")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_5yqcp"]
|
|
texture = ExtResource("3_2uj2s")
|
|
texture_margin_left = 5.0
|
|
texture_margin_top = 5.0
|
|
texture_margin_right = 5.0
|
|
texture_margin_bottom = 5.0
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rjq3w"]
|
|
texture = ExtResource("5_mjmwi")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_uvrvw"]
|
|
texture = ExtResource("5_mjmwi")
|
|
texture_margin_left = 5.0
|
|
texture_margin_top = 5.0
|
|
texture_margin_right = 5.0
|
|
texture_margin_bottom = 5.0
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_hmthg"]
|
|
texture = ExtResource("5_mjmwi")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_44oc2"]
|
|
texture = ExtResource("6_5yqcp")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_losb8"]
|
|
texture = ExtResource("6_5yqcp")
|
|
texture_margin_left = 5.0
|
|
texture_margin_top = 5.0
|
|
texture_margin_right = 5.0
|
|
texture_margin_bottom = 5.0
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_32se8"]
|
|
texture = ExtResource("8_cg1t8")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_0idsm"]
|
|
texture = ExtResource("8_cg1t8")
|
|
texture_margin_left = 5.0
|
|
texture_margin_top = 5.0
|
|
texture_margin_right = 5.0
|
|
texture_margin_bottom = 5.0
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_eun27"]
|
|
texture = ExtResource("8_cg1t8")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_ujig1"]
|
|
texture = ExtResource("9_losb8")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_oet65"]
|
|
texture = ExtResource("9_losb8")
|
|
texture_margin_left = 5.0
|
|
texture_margin_top = 5.0
|
|
texture_margin_right = 5.0
|
|
texture_margin_bottom = 5.0
|
|
|
|
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_rjq3w"]
|
|
load_path = "res://.godot/imported/map5.png-866c8a9e4a358af603571c71a29c14d5.ctex"
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_rhwuk"]
|
|
texture = SubResource("CompressedTexture2D_rjq3w")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_h63b2"]
|
|
texture = ExtResource("9_rjq3w")
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_7vqd6"]
|
|
texture = ExtResource("9_rjq3w")
|
|
texture_margin_left = 5.0
|
|
texture_margin_top = 5.0
|
|
texture_margin_right = 5.0
|
|
texture_margin_bottom = 5.0
|
|
|
|
[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_42tg7"]
|
|
texture = ExtResource("9_rjq3w")
|
|
|
|
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_cnef1"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mjmwi"]
|
|
bg_color = Color(0.485703, 0.485704, 0.485703, 0.447059)
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
shadow_size = 5
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_udeaf"]
|
|
bg_color = Color(0.117647, 0.117647, 0.117647, 0.682353)
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
shadow_size = 5
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_5yqcp"]
|
|
bg_color = Color(1, 1, 1, 0.447059)
|
|
corner_radius_top_left = 20
|
|
corner_radius_top_right = 20
|
|
corner_radius_bottom_right = 20
|
|
corner_radius_bottom_left = 20
|
|
shadow_size = 5
|
|
|
|
[node name="mapselector" 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_cnef1")
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxTexture_cnef1")
|
|
|
|
[node name="VBoxContainer2" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -179.0
|
|
offset_right = 179.0
|
|
offset_bottom = 200.0
|
|
grow_horizontal = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer2"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("2_2uj2s")
|
|
theme_override_font_sizes/font_size = 86
|
|
text = "Defensaria"
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer2"]
|
|
layout_mode = 2
|
|
theme_override_fonts/font = ExtResource("2_2uj2s")
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "Guardians of the Last Cytadel"
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -466.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_constants/separation = 50
|
|
alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
layout_mode = 2
|
|
size_flags_vertical = 8
|
|
theme_override_constants/separation = 30
|
|
alignment = 1
|
|
|
|
[node name="first" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/first"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "1st Level"
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer/first"]
|
|
custom_minimum_size = Vector2(120, 80)
|
|
layout_mode = 2
|
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_cg1t8")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_5yqcp")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_cg1t8")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer/first/Button"]
|
|
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
|
|
texture = ExtResource("6_udeaf")
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer/first"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Score: 10 / "
|
|
|
|
[node name="second" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/second"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "2nd Level"
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer/second"]
|
|
custom_minimum_size = Vector2(120, 80)
|
|
layout_mode = 2
|
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_rjq3w")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_uvrvw")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_hmthg")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer/second/Button"]
|
|
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
|
|
texture = ExtResource("6_udeaf")
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer/second"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Score: 10 / "
|
|
|
|
[node name="third" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/third"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "3rd Level"
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer/third"]
|
|
custom_minimum_size = Vector2(120, 80)
|
|
layout_mode = 2
|
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_44oc2")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_losb8")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_44oc2")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer/third/Button"]
|
|
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
|
|
texture = ExtResource("6_udeaf")
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer/third"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Score: 10 / "
|
|
|
|
[node name="fourth" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/fourth"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "4th Level"
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer/fourth"]
|
|
custom_minimum_size = Vector2(120, 80)
|
|
layout_mode = 2
|
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_32se8")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_0idsm")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_eun27")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer/fourth/Button"]
|
|
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
|
|
texture = ExtResource("6_udeaf")
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer/fourth"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Score: 10 / "
|
|
|
|
[node name="fith" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/fith"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "5th Level"
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer/fith"]
|
|
custom_minimum_size = Vector2(120, 80)
|
|
layout_mode = 2
|
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_ujig1")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_oet65")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_rhwuk")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer/fith/Button"]
|
|
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
|
|
texture = ExtResource("6_udeaf")
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer/fith"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Score: 10 / "
|
|
|
|
[node name="sixth" type="VBoxContainer" parent="VBoxContainer/HBoxContainer"]
|
|
layout_mode = 2
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer/sixth"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "6th Level"
|
|
|
|
[node name="Button" type="Button" parent="VBoxContainer/HBoxContainer/sixth"]
|
|
custom_minimum_size = Vector2(120, 80)
|
|
layout_mode = 2
|
|
theme_override_styles/disabled = SubResource("StyleBoxTexture_h63b2")
|
|
theme_override_styles/hover = SubResource("StyleBoxTexture_7vqd6")
|
|
theme_override_styles/normal = SubResource("StyleBoxTexture_42tg7")
|
|
|
|
[node name="TextureRect" type="TextureRect" parent="VBoxContainer/HBoxContainer/sixth/Button"]
|
|
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
|
|
texture = ExtResource("6_udeaf")
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer/sixth"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
text = "Score: 10 / "
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_top = -8.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
alignment = 1
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="HBoxContainer"]
|
|
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="Button" type="Button" parent="HBoxContainer/MarginContainer"]
|
|
custom_minimum_size = Vector2(250, 0)
|
|
layout_mode = 2
|
|
theme_override_colors/font_color = Color(0, 0, 0, 1)
|
|
theme_override_font_sizes/font_size = 30
|
|
theme_override_styles/focus = SubResource("StyleBoxEmpty_cnef1")
|
|
theme_override_styles/hover = SubResource("StyleBoxFlat_mjmwi")
|
|
theme_override_styles/pressed = SubResource("StyleBoxFlat_udeaf")
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_5yqcp")
|
|
text = "Main Menu"
|
|
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer/first/Button" to="." method="_on_button_map1_pressed"]
|
|
[connection signal="pressed" from="HBoxContainer/MarginContainer/Button" to="." method="_on_button_pressed"]
|