This commit is contained in:
2025-10-29 04:02:47 +01:00
parent 84f75cb2a7
commit 99c606ca5b
33 changed files with 1004 additions and 76 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=9 format=3 uid="uid://dh8wt018qxj2y"]
[gd_scene load_steps=12 format=3 uid="uid://dh8wt018qxj2y"]
[ext_resource type="Script" uid="uid://b5c8ov4lhocb8" path="res://scripts/menus/pumpkin_carve.gd" id="1_vvdcc"]
[ext_resource type="Texture2D" uid="uid://cb8q0hsocixew" path="res://assets/textures/pumpkin_inner.png" id="2_fcp78"]
@@ -17,6 +17,16 @@ events = [SubResource("InputEventAction_0qx04")]
atlas = ExtResource("4_0qx04")
region = Rect2(346, 130, 12, 11)
[sub_resource type="InputEventAction" id="InputEventAction_wfn45"]
action = &"ui_text_submit"
[sub_resource type="Shortcut" id="Shortcut_sr4y0"]
events = [SubResource("InputEventAction_wfn45")]
[sub_resource type="AtlasTexture" id="AtlasTexture_6yd03"]
atlas = ExtResource("4_0qx04")
region = Rect2(128, 272, 16, 15)
[node name="PumpkinCarve" type="Control"]
layout_mode = 3
anchors_preset = 15
@@ -80,21 +90,26 @@ grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("3_0qx04")
[node name="UndoButton" type="Button" parent="."]
layout_mode = 1
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = -44.0
offset_top = -44.0
offset_right = -24.0
offset_bottom = -25.0
grow_horizontal = 0
grow_vertical = 0
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 15.0
offset_right = 63.0
offset_bottom = 38.0
[node name="UndoButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
size_flags_vertical = 0
tooltip_text = "Undo"
shortcut = SubResource("Shortcut_wfn45")
icon = SubResource("AtlasTexture_wfn45")
[connection signal="pressed" from="UndoButton" to="." method="_on_undo_button_pressed"]
[node name="Finish" type="Button" parent="HBoxContainer"]
layout_mode = 2
size_flags_vertical = 0
tooltip_text = "Finish"
shortcut = SubResource("Shortcut_sr4y0")
icon = SubResource("AtlasTexture_6yd03")
[connection signal="pressed" from="HBoxContainer/UndoButton" to="." method="_on_undo_button_pressed"]
[connection signal="pressed" from="HBoxContainer/Finish" to="." method="_on_finish_pressed"]