Basic sigil system implementation

This commit is contained in:
2026-05-02 00:35:49 -07:00
parent 9e7678ce2a
commit 4460fd28f5
13 changed files with 215 additions and 45 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://8f3dk16nj0dn"]
[gd_scene load_steps=6 format=3 uid="uid://8f3dk16nj0dn"]
[ext_resource type="Script" uid="uid://l1v4ppubryd3" path="res://src/ui/pause_menu/PauseDebugMenu.cs" id="1_a7f7f"]
[ext_resource type="FontFile" uid="uid://dp1k143v7cppw" path="res://src/ui/fonts/Lust_Sans_Regular.otf" id="1_dan2i"]
@@ -6,6 +6,8 @@
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ctjd"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dan2i"]
[node name="Control" type="Control"]
process_mode = 3
top_level = true
@@ -81,8 +83,8 @@ label_settings = ExtResource("2_a7f7f")
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_top = NodePath("../SpawnItemDropDown")
focus_neighbor_bottom = NodePath(".")
theme_override_styles/normal = SubResource("StyleBoxFlat_1ctjd")
focus_neighbor_bottom = NodePath("../SigilDropDown")
theme_override_styles/normal = SubResource("StyleBoxFlat_dan2i")
item_count = 15
popup/item_0/text = "Sproingy"
popup/item_0/id = 0
@@ -115,6 +117,23 @@ popup/item_13/id = 13
popup/item_14/text = "Gold Sproingy"
popup/item_14/id = 14
[node name="Label3" type="Label" parent="MarginContainer/VBoxContainer/HBoxContainer/VFlowContainer"]
layout_mode = 2
text = "Sigil:"
label_settings = ExtResource("2_a7f7f")
[node name="SigilDropDown" type="OptionButton" parent="MarginContainer/VBoxContainer/HBoxContainer/VFlowContainer"]
unique_name_in_owner = true
layout_mode = 2
focus_neighbor_top = NodePath("../SpawnEnemyDropDown")
focus_neighbor_bottom = NodePath("../LoadNextFloorButton")
theme_override_styles/normal = SubResource("StyleBoxFlat_1ctjd")
flat = true
allow_reselect = true
item_count = 1
popup/item_0/text = "None"
popup/item_0/id = 0
[node name="LoadNextFloorButton" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer/VFlowContainer"]
unique_name_in_owner = true
layout_mode = 2