UI work, placing traps, removing traps, disarming traps, new sound fx.

This commit is contained in:
2025-12-25 17:52:30 -05:00
parent 3b6407d6e5
commit 55eb37ca74
34 changed files with 867 additions and 72 deletions

View File

@@ -0,0 +1,51 @@
[gd_scene load_steps=4 format=3 uid="uid://bwj76wt4pab4t"]
[ext_resource type="Script" uid="uid://bj1udbw3sm73f" path="res://scripts/remove_trap_modal.gd" id="1_27jge"]
[ext_resource type="Texture2D" uid="uid://barbcaa2xvgkk" path="res://visuals/images/icons/switch button.png" id="2_dmpk7"]
[ext_resource type="Texture2D" uid="uid://diyks5oxgidoo" path="res://visuals/images/icons/ranged attack button.png" id="3_42gya"]
[node name="RemoveTrapModal" type="ConfirmationDialog"]
handle_input_locally = false
canvas_item_default_texture_filter = 2
gui_disable_input = true
oversampling_override = 1.0
title = "Remove Trap?"
initial_position = 1
visible = true
transient = false
borderless = true
always_on_top = true
unfocusable = true
content_scale_mode = 1
content_scale_aspect = 2
ok_button_text = "Remove"
dialog_text = "Remove Trap?"
script = ExtResource("1_27jge")
[node name="Control" type="Control" parent="."]
layout_mode = 3
anchors_preset = 0
offset_left = 8.0
offset_top = 8.0
offset_right = 192.0
offset_bottom = 51.0
[node name="TextureRect" type="TextureRect" parent="Control"]
z_index = 10
layout_mode = 0
offset_left = 36.0
offset_top = 29.0
offset_right = 68.0
offset_bottom = 61.0
texture = ExtResource("2_dmpk7")
expand_mode = 1
[node name="TextureRect2" type="TextureRect" parent="Control"]
z_index = 10
layout_mode = 0
offset_left = 120.0
offset_top = 29.0
offset_right = 152.0
offset_bottom = 61.0
texture = ExtResource("3_42gya")
expand_mode = 1