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

90
templates/gas_square.tscn Normal file
View File

@@ -0,0 +1,90 @@
[gd_scene load_steps=14 format=3 uid="uid://p6gfy3gdm4fu"]
[ext_resource type="Texture2D" uid="uid://qs7mgm4vors6" path="res://visuals/textures/T_smoke_b7.png" id="1_i2t7o"]
[ext_resource type="Script" uid="uid://6xmp5cbmjrbw" path="res://scripts/gas_square.gd" id="1_nit1s"]
[ext_resource type="AudioStream" uid="uid://bk4s3yn7473pc" path="res://audio/sounds/gas_leak_med_burst_01.wav" id="3_6ouu1"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_oxb7l"]
transparency = 1
vertex_color_use_as_albedo = true
vertex_color_is_srgb = true
albedo_texture = ExtResource("1_i2t7o")
billboard_mode = 3
billboard_keep_scale = true
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
proximity_fade_enabled = true
[sub_resource type="Curve" id="Curve_nit1s"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.25201073, 0.5114823), 1.9835948, 1.9835948, 0, 0, Vector2(0.81233245, 0.4979124), -1.8980947, -1.8980947, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
point_count = 4
[sub_resource type="CurveTexture" id="CurveTexture_6ouu1"]
curve = SubResource("Curve_nit1s")
[sub_resource type="Gradient" id="Gradient_mcwmv"]
offsets = PackedFloat32Array(0, 0.5129683, 1)
colors = PackedColorArray(0, 1, 0, 1, 0.5660992, 0.4395883, 0.22195616, 1, 0.46846813, 0.00015392214, 0.46846473, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_3hj10"]
gradient = SubResource("Gradient_mcwmv")
use_hdr = true
[sub_resource type="Curve" id="Curve_vcxlp"]
_data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.36461127, 0.4979124), 0.0, 0.0, 0, 0, Vector2(0.71581775, 0.5318372), 0.0, 0.0, 0, 0, Vector2(1, 1), 0.0, 0.0, 0, 0]
point_count = 4
[sub_resource type="CurveTexture" id="CurveTexture_qumvk"]
curve = SubResource("Curve_vcxlp")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_6ur4r"]
particle_flag_rotate_y = true
emission_shape = 3
emission_box_extents = Vector3(0.35, 0.1, 0.35)
angle_min = -179.99998
angle_max = 180.00002
direction = Vector3(0, 1, 0)
spread = 0.0
initial_velocity_min = 1.0
initial_velocity_max = 1.5
angular_velocity_min = -50.000015
angular_velocity_max = 49.99998
gravity = Vector3(0, 0, 0)
scale_max = 1.35
scale_curve = SubResource("CurveTexture_qumvk")
color = Color(1.5257139, 1.5257139, 1.5257139, 1)
color_ramp = SubResource("GradientTexture1D_3hj10")
alpha_curve = SubResource("CurveTexture_6ouu1")
[sub_resource type="QuadMesh" id="QuadMesh_dws4p"]
[sub_resource type="BoxShape3D" id="BoxShape3D_mcwmv"]
size = Vector3(1, 2, 1)
[node name="Gas Square" type="Area3D"]
collision_layer = 0
collision_mask = 2
script = ExtResource("1_nit1s")
[node name="ParticleFX" type="GPUParticles3D" parent="."]
unique_name_in_owner = true
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.5, 0, 0.5)
material_override = SubResource("StandardMaterial3D_oxb7l")
emitting = false
amount = 25
one_shot = true
explosiveness = 0.18
fixed_fps = 60
process_material = SubResource("ParticleProcessMaterial_6ur4r")
draw_pass_1 = SubResource("QuadMesh_dws4p")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
shape = SubResource("BoxShape3D_mcwmv")
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("3_6ouu1")
autoplay = true
[connection signal="body_entered" from="." to="." method="_on_body_entered"]