143 lines
4.2 KiB
Plaintext
143 lines
4.2 KiB
Plaintext
[gd_scene load_steps=9 format=3 uid="uid://drhcomr6ldimp"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://djnidyxkkoeqc" path="res://New Piskel-1.png.png" id="1_3ht73"]
|
|
[ext_resource type="Texture2D" uid="uid://cl8avarxc0n0y" path="res://UI Adventure Pack/PNG/panel_brown.png" id="2_23lir"]
|
|
[ext_resource type="Texture2D" uid="uid://x1jlfbf1142r" path="res://UI Adventure Pack/PNG/buttonLong_blue_pressed.png" id="3_kuh6y"]
|
|
[ext_resource type="Texture2D" uid="uid://n6jcj30mb2e1" path="res://UI Adventure Pack/PNG/buttonLong_blue.png" id="4_mg1nj"]
|
|
[ext_resource type="Script" path="res://Start game.gd" id="5_u7ng1"]
|
|
[ext_resource type="Script" path="res://Load Game.gd" id="6_6q3nv"]
|
|
[ext_resource type="Script" path="res://quit.gd" id="6_7qmne"]
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_s0wtt"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": ExtResource("3_kuh6y")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": ExtResource("4_mg1nj")
|
|
}],
|
|
"loop": false,
|
|
"name": &"button pressed",
|
|
"speed": 5.0
|
|
}]
|
|
|
|
[node name="Main Menu" type="Node"]
|
|
|
|
[node name="mouse" type="Sprite2D" parent="."]
|
|
top_level = true
|
|
texture_filter = 1
|
|
position = Vector2(368, 288)
|
|
texture = ExtResource("1_3ht73")
|
|
region_enabled = true
|
|
region_rect = Rect2(9, 2, 9, 12)
|
|
|
|
[node name="PanelBrown" type="Sprite2D" parent="."]
|
|
texture_filter = 1
|
|
position = Vector2(512, 320)
|
|
scale = Vector2(4.60125, 4.385)
|
|
texture = ExtResource("2_23lir")
|
|
|
|
[node name="Start game" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(519, 208.5)
|
|
sprite_frames = SubResource("SpriteFrames_s0wtt")
|
|
animation = &"button pressed"
|
|
frame = 1
|
|
frame_progress = 1.0
|
|
script = ExtResource("5_u7ng1")
|
|
|
|
[node name="Label" type="Label" parent="Start game"]
|
|
offset_left = -64.0
|
|
offset_top = -16.0
|
|
offset_right = 63.0
|
|
offset_bottom = 10.0
|
|
text = "Start New Game"
|
|
horizontal_alignment = 1
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Button" type="Button" parent="Start game"]
|
|
show_behind_parent = true
|
|
offset_left = -88.0
|
|
offset_top = -24.0
|
|
offset_right = 88.0
|
|
offset_bottom = 24.0
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Rusume game" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(520, 152)
|
|
sprite_frames = SubResource("SpriteFrames_s0wtt")
|
|
animation = &"button pressed"
|
|
frame = 1
|
|
frame_progress = 1.0
|
|
|
|
[node name="Label" type="Label" parent="Rusume game"]
|
|
offset_left = -64.0
|
|
offset_top = -16.0
|
|
offset_right = 63.0
|
|
offset_bottom = 10.0
|
|
text = "Contenue Game"
|
|
horizontal_alignment = 1
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Button" type="Button" parent="Rusume game"]
|
|
show_behind_parent = true
|
|
offset_left = -88.0
|
|
offset_top = -24.0
|
|
offset_right = 88.0
|
|
offset_bottom = 24.0
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Load Game" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(519, 264.5)
|
|
sprite_frames = SubResource("SpriteFrames_s0wtt")
|
|
animation = &"button pressed"
|
|
frame = 1
|
|
frame_progress = 1.0
|
|
script = ExtResource("6_6q3nv")
|
|
|
|
[node name="Label" type="Label" parent="Load Game"]
|
|
offset_left = -64.0
|
|
offset_top = -16.0
|
|
offset_right = 63.0
|
|
offset_bottom = 10.0
|
|
text = "Load Game"
|
|
horizontal_alignment = 1
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="Button" type="Button" parent="Load Game"]
|
|
show_behind_parent = true
|
|
offset_left = -88.0
|
|
offset_top = -24.0
|
|
offset_right = 88.0
|
|
offset_bottom = 24.0
|
|
metadata/_edit_use_anchors_ = true
|
|
|
|
[node name="quit" type="AnimatedSprite2D" parent="."]
|
|
position = Vector2(520, 480)
|
|
sprite_frames = SubResource("SpriteFrames_s0wtt")
|
|
animation = &"button pressed"
|
|
frame = 1
|
|
frame_progress = 1.0
|
|
script = ExtResource("6_7qmne")
|
|
|
|
[node name="Label" type="Label" parent="quit"]
|
|
offset_left = -48.0
|
|
offset_top = -16.0
|
|
offset_right = 40.0
|
|
offset_bottom = 10.0
|
|
text = "Quit"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="Button" type="Button" parent="quit"]
|
|
show_behind_parent = true
|
|
offset_left = -88.0
|
|
offset_top = -24.0
|
|
offset_right = 88.0
|
|
offset_bottom = 24.0
|
|
|
|
[connection signal="pressed" from="Start game/Button" to="Start game" method="_on_button_pressed"]
|
|
[connection signal="pressed" from="Rusume game/Button" to="Rusume game" method="_on_button_pressed"]
|
|
[connection signal="pressed" from="Load Game/Button" to="Load Game" method="_on_button_pressed"]
|
|
[connection signal="pressed" from="quit/Button" to="quit" method="_on_button_pressed"]
|