make grid shuffle, grid sizy, gem color types

This commit is contained in:
2025-09-24 01:39:18 +04:00
committed by nett00n
parent d8435ef46c
commit e11e864b26
12 changed files with 565 additions and 48 deletions

83
scenes/ui/DebugMenu.tscn Normal file
View File

@@ -0,0 +1,83 @@
[gd_scene load_steps=2 format=3 uid="uid://fax5m4ywp1r3"]
[ext_resource type="Script" uid="uid://b4ppfg1tb0al0" path="res://scenes/ui/DebugMenu.gd" id="1_debug_menu"]
[node name="DebugMenu" type="Control"]
layout_mode = 3
anchors_preset = 1
anchor_left = 1.0
anchor_right = 1.0
offset_left = -201.0
offset_top = 59.0
offset_right = -11.0
offset_bottom = 169.0
grow_horizontal = 0
script = ExtResource("1_debug_menu")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
offset_left = 10.0
offset_top = 10.0
offset_right = -10.0
offset_bottom = -10.0
grow_horizontal = 2
grow_vertical = 2
[node name="TitleLabel" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Debug Menu"
horizontal_alignment = 1
[node name="RegenerateButton" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Generate New Grid"
[node name="GemTypesContainer" type="HBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="GemTypesLabel" type="Label" parent="VBoxContainer/GemTypesContainer"]
layout_mode = 2
text = "Gem Types: 5"
[node name="GemTypesSpinBox" type="SpinBox" parent="VBoxContainer/GemTypesContainer"]
layout_mode = 2
min_value = 3.0
max_value = 8.0
value = 5.0
[node name="GridSizeContainer" type="VBoxContainer" parent="VBoxContainer"]
layout_mode = 2
[node name="GridSizeLabel" type="Label" parent="VBoxContainer/GridSizeContainer"]
layout_mode = 2
text = "Grid Size"
horizontal_alignment = 1
[node name="GridWidthContainer" type="HBoxContainer" parent="VBoxContainer/GridSizeContainer"]
layout_mode = 2
[node name="GridWidthLabel" type="Label" parent="VBoxContainer/GridSizeContainer/GridWidthContainer"]
layout_mode = 2
text = "Width: 8"
[node name="GridWidthSpinBox" type="SpinBox" parent="VBoxContainer/GridSizeContainer/GridWidthContainer"]
layout_mode = 2
min_value = 4.0
max_value = 12.0
value = 8.0
[node name="GridHeightContainer" type="HBoxContainer" parent="VBoxContainer/GridSizeContainer"]
layout_mode = 2
[node name="GridHeightLabel" type="Label" parent="VBoxContainer/GridSizeContainer/GridHeightContainer"]
layout_mode = 2
text = "Height: 8"
[node name="GridHeightSpinBox" type="SpinBox" parent="VBoxContainer/GridSizeContainer/GridHeightContainer"]
layout_mode = 2
min_value = 4.0
max_value = 12.0
value = 8.0