99 lines
3.5 KiB
Plaintext
99 lines
3.5 KiB
Plaintext
[gd_scene load_steps=12 format=3 uid="uid://bbolxp0x0vebg"]
|
|
|
|
[ext_resource type="Script" path="res://scripts/world_1_map.gd" id="1_jm3fc"]
|
|
[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_1dxjp"]
|
|
[ext_resource type="Texture2D" uid="uid://dad7dkue6gyiv" path="res://assets/sprites/world1.png" id="3_lgu5o"]
|
|
[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="4_aiv4b"]
|
|
[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="4_nrg2y"]
|
|
[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="5_xx086"]
|
|
[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="6_mitqt"]
|
|
[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="7_7o6da"]
|
|
[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="9_pddn2"]
|
|
[ext_resource type="Texture2D" uid="uid://tncraim5yyhl" path="res://assets/sprites/buttons/arrow_side.png" id="10_ktsot"]
|
|
|
|
[sub_resource type="LabelSettings" id="LabelSettings_ofavl"]
|
|
font = ExtResource("7_7o6da")
|
|
font_size = 12
|
|
font_color = Color(0.560784, 0.337255, 0.623529, 1)
|
|
|
|
[node name="mapWorld1" 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_jm3fc")
|
|
|
|
[node name="background" type="Sprite2D" parent="."]
|
|
position = Vector2(320, 180)
|
|
texture = ExtResource("2_1dxjp")
|
|
|
|
[node name="World 1" type="Label" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 256.0
|
|
offset_top = 64.0
|
|
offset_right = 385.0
|
|
offset_bottom = 118.0
|
|
text = "World 1"
|
|
label_settings = ExtResource("9_pddn2")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="."]
|
|
layout_mode = 2
|
|
offset_left = 192.0
|
|
offset_top = 128.0
|
|
offset_right = 448.0
|
|
offset_bottom = 332.0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="HBoxContainer"]
|
|
layout_mode = 2
|
|
|
|
[node name="level1-1" type="TextureButton" parent="HBoxContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
texture_normal = ExtResource("3_lgu5o")
|
|
stretch_mode = 0
|
|
|
|
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"]
|
|
layout_mode = 2
|
|
text = "Level 1"
|
|
label_settings = ExtResource("4_nrg2y")
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Back" type="TextureButton" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 8.0
|
|
offset_top = 8.0
|
|
offset_right = 146.0
|
|
offset_bottom = 41.0
|
|
texture_normal = ExtResource("4_aiv4b")
|
|
texture_pressed = ExtResource("5_xx086")
|
|
texture_hover = ExtResource("6_mitqt")
|
|
ignore_texture_size = true
|
|
stretch_mode = 0
|
|
|
|
[node name="Back" type="Label" parent="Back"]
|
|
layout_mode = 0
|
|
offset_left = 1.0
|
|
offset_top = 1.0
|
|
offset_right = 137.0
|
|
offset_bottom = 32.0
|
|
text = "Back"
|
|
label_settings = SubResource("LabelSettings_ofavl")
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="worldNext" type="TextureButton" parent="."]
|
|
layout_mode = 0
|
|
offset_left = 456.0
|
|
offset_top = 72.0
|
|
offset_right = 504.0
|
|
offset_bottom = 120.0
|
|
texture_normal = ExtResource("10_ktsot")
|
|
stretch_mode = 0
|
|
flip_h = true
|
|
|
|
[connection signal="pressed" from="HBoxContainer/VBoxContainer/level1-1" to="." method="_on_level_11_pressed"]
|
|
[connection signal="pressed" from="Back" to="." method="_on_back_pressed"]
|
|
[connection signal="pressed" from="worldNext" to="." method="_on_world_next_pressed"]
|