Strayvoid/scenes/world2_map.tscn
2025-03-30 09:49:48 +02:00

110 lines
3.8 KiB
Plaintext

[gd_scene load_steps=12 format=3 uid="uid://b6pc3toiko4ix"]
[ext_resource type="Script" path="res://scripts/world_2_map.gd" id="1_0bpgx"]
[ext_resource type="Texture2D" uid="uid://nf1t72v76e6d" path="res://assets/sprites/background.png" id="2_b470e"]
[ext_resource type="LabelSettings" uid="uid://bpinurw0bakgm" path="res://assets/tres/label.tres" id="3_xm0ni"]
[ext_resource type="Texture2D" uid="uid://dad7dkue6gyiv" path="res://assets/sprites/world1.png" id="4_0glwi"]
[ext_resource type="LabelSettings" uid="uid://ntl7jil1tcua" path="res://assets/tres/label_options.tres" id="5_xsi67"]
[ext_resource type="Texture2D" uid="uid://dfhbdyfc0a572" path="res://assets/sprites/buttons/button.png" id="6_0t6gg"]
[ext_resource type="Texture2D" uid="uid://wrbi6c4sil01" path="res://assets/sprites/buttons/button_pressed.png" id="7_ljcgl"]
[ext_resource type="Texture2D" uid="uid://l0hgddevuuak" path="res://assets/sprites/buttons/button_hover.png" id="8_v3ual"]
[ext_resource type="FontFile" uid="uid://c6e56mqdq236j" path="res://assets/fonts/ark-pixel-12px-proportional-latin.ttf" id="9_qmybo"]
[ext_resource type="Texture2D" uid="uid://tncraim5yyhl" path="res://assets/sprites/buttons/arrow_side.png" id="10_ibaoc"]
[sub_resource type="LabelSettings" id="LabelSettings_ofavl"]
font = ExtResource("9_qmybo")
font_size = 12
font_color = Color(0.560784, 0.337255, 0.623529, 1)
[node name="mapWorld2" 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_0bpgx")
[node name="background" type="Sprite2D" parent="."]
position = Vector2(320, 180)
texture = ExtResource("2_b470e")
[node name="World 1" type="Label" parent="."]
layout_mode = 0
offset_left = 200.0
offset_top = 64.0
offset_right = 437.0
offset_bottom = 118.0
text = "Coming soon..."
label_settings = ExtResource("3_xm0ni")
horizontal_alignment = 1
[node name="HBoxContainer" type="HBoxContainer" parent="."]
visible = false
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("4_0glwi")
stretch_mode = 0
[node name="Label" type="Label" parent="HBoxContainer/VBoxContainer"]
layout_mode = 2
text = "Level 1"
label_settings = ExtResource("5_xsi67")
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("6_0t6gg")
texture_pressed = ExtResource("7_ljcgl")
texture_hover = ExtResource("8_v3ual")
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="worldPrevious" type="TextureButton" parent="."]
layout_mode = 0
offset_left = 136.0
offset_top = 72.0
offset_right = 184.0
offset_bottom = 120.0
texture_normal = ExtResource("10_ibaoc")
stretch_mode = 0
[node name="worldNext" type="TextureButton" parent="."]
visible = false
layout_mode = 0
offset_left = 456.0
offset_top = 72.0
offset_right = 504.0
offset_bottom = 120.0
texture_normal = ExtResource("10_ibaoc")
stretch_mode = 0
flip_h = true
[connection signal="pressed" from="Back" to="." method="_on_back_pressed"]
[connection signal="pressed" from="worldPrevious" to="." method="_on_world_previous_pressed"]
[connection signal="pressed" from="worldNext" to="." method="_on_world_next_pressed"]