Extensive work done on basically everything. Attacks prototyped, animations prototyped, pawnbody split out, all traps but pitfall implemented, UI hooked up more.

This commit is contained in:
2026-01-01 07:36:54 -05:00
parent 84bf495d11
commit b4910013c0
89 changed files with 1994 additions and 64 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=31 format=3 uid="uid://bgocskbofewsr"]
[gd_scene load_steps=36 format=3 uid="uid://bgocskbofewsr"]
[ext_resource type="Script" uid="uid://bm50jiya4s3ei" path="res://scripts/hud.gd" id="1_jiiqi"]
[ext_resource type="Texture2D" uid="uid://dri0a20l6kpbj" path="res://visuals/images/icon.svg" id="1_k5de2"]
@@ -27,7 +27,17 @@
[ext_resource type="Texture2D" uid="uid://diyks5oxgidoo" path="res://visuals/images/icons/ranged attack button.png" id="19_k0acs"]
[ext_resource type="Texture2D" uid="uid://0ujjkgwiyveu" path="res://visuals/images/icons/lit ranged attack button.png" id="20_vhta5"]
[ext_resource type="Texture2D" uid="uid://barbcaa2xvgkk" path="res://visuals/images/icons/switch button.png" id="21_iv5le"]
[ext_resource type="Script" uid="uid://ci7vc41m5alq5" path="res://scripts/control_display.gd" id="21_jiiqv"]
[ext_resource type="Texture2D" uid="uid://bd0xwm4wuuiuo" path="res://visuals/images/icons/lit switch button.png" id="22_1ghxf"]
[ext_resource type="Texture2D" uid="uid://bg0h4l3162pn5" path="res://visuals/images/icons/melee attack button.png" id="28_jf5vi"]
[ext_resource type="Texture2D" uid="uid://c64lykkbavdmi" path="res://visuals/images/icons/lit melee attack button.png" id="29_deun7"]
[sub_resource type="Gradient" id="Gradient_iv5le"]
offsets = PackedFloat32Array(0, 0.59079283, 1)
colors = PackedColorArray(0.33862844, 7.9006626e-05, 0.33938414, 1, 0, 0.36556464, 0, 1, 0.6879359, 1, 0, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_1ghxf"]
gradient = SubResource("Gradient_iv5le")
[sub_resource type="Gradient" id="Gradient_1ghxf"]
@@ -88,6 +98,8 @@ value = 100.0
nine_patch_stretch = true
texture_progress = ExtResource("3_vhta5")
script = ExtResource("4_iv5le")
healthy_gradient = ExtResource("3_vhta5")
poisoned_gradient = SubResource("GradientTexture1D_1ghxf")
[node name="PanelContainer2" type="PanelContainer" parent="Control/PanelContainer/HBoxContainer/VBoxContainer2"]
custom_minimum_size = Vector2(250, 100)
@@ -227,7 +239,8 @@ offset_bottom = 104.0
texture = ExtResource("18_iv5le")
expand_mode = 1
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/PanelContainer3/Control"]
[node name="AmmoLabel" type="Label" parent="Control/PanelContainer/HBoxContainer/VBoxContainer/PanelContainer3/Control"]
unique_name_in_owner = true
layout_mode = 0
offset_left = 141.0
offset_top = 29.0
@@ -281,7 +294,8 @@ expand_mode = 1
custom_minimum_size = Vector2(165, 0)
layout_mode = 2
[node name="Control2" type="Control" parent="."]
[node name="ControlDisplay" type="Control" parent="."]
unique_name_in_owner = true
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
@@ -289,8 +303,9 @@ anchor_bottom = 1.0
offset_top = -200.0
offset_right = 200.0
grow_vertical = 0
script = ExtResource("21_jiiqv")
[node name="Trap" type="TextureButton" parent="Control2"]
[node name="Trap" type="TextureButton" parent="ControlDisplay"]
layout_mode = 0
offset_left = 13.0
offset_top = 71.0
@@ -304,7 +319,7 @@ texture_pressed = ExtResource("16_aid7k")
ignore_texture_size = true
stretch_mode = 0
[node name="Detect" type="TextureButton" parent="Control2"]
[node name="Detect" type="TextureButton" parent="ControlDisplay"]
layout_mode = 0
offset_left = 68.0
offset_top = 35.0
@@ -318,7 +333,7 @@ texture_pressed = ExtResource("18_yda1o")
ignore_texture_size = true
stretch_mode = 0
[node name="RangedAttack" type="TextureButton" parent="Control2"]
[node name="RangedAttack" type="TextureButton" parent="ControlDisplay"]
layout_mode = 0
offset_left = 123.0
offset_top = 71.0
@@ -332,7 +347,22 @@ texture_pressed = ExtResource("20_vhta5")
ignore_texture_size = true
stretch_mode = 0
[node name="Switch" type="TextureButton" parent="Control2"]
[node name="MeleeAttack" type="TextureButton" parent="ControlDisplay"]
visible = false
layout_mode = 0
offset_left = 123.0
offset_top = 71.0
offset_right = 187.0
offset_bottom = 135.0
mouse_filter = 2
toggle_mode = true
button_mask = 0
texture_normal = ExtResource("28_jf5vi")
texture_pressed = ExtResource("29_deun7")
ignore_texture_size = true
stretch_mode = 0
[node name="Switch" type="TextureButton" parent="ControlDisplay"]
layout_mode = 0
offset_left = 68.0
offset_top = 110.0