Extensive work on animations and partially functional level keys, new UI gears but needs rounding error correction. Particle preloader added.

This commit is contained in:
2026-04-07 06:43:12 -04:00
parent 86f655ff07
commit 39401ff04f
128 changed files with 42916 additions and 120860 deletions

View File

@@ -18,10 +18,12 @@
[ext_resource type="Texture2D" uid="uid://c1g5jy6w66rys" path="res://visuals/images/icons/install button.png" id="15_wc04a"]
[ext_resource type="Texture2D" uid="uid://b2tu6cwb6xftx" path="res://visuals/images/icons/lit install button.png" id="16_aid7k"]
[ext_resource type="Texture2D" uid="uid://cm8jpwerkad5s" path="res://external/empty key.png" id="17_gomyg"]
[ext_resource type="Script" uid="uid://3imn5hdj8u25" path="res://scripts/level_keys_display.gd" id="17_jiiqv"]
[ext_resource type="Texture2D" uid="uid://bxs0jj4y4clvv" path="res://visuals/images/icons/detect button.png" id="17_rpucv"]
[ext_resource type="Texture2D" uid="uid://buh1sm00l81u5" path="res://visuals/images/icons/gun.png" id="18_iv5le"]
[ext_resource type="Texture2D" uid="uid://dney1f72lglvc" path="res://external/data key.png" id="18_jiiqv"]
[ext_resource type="Texture2D" uid="uid://bxxm3c2lpmr4f" path="res://visuals/images/icons/lit detect button.png" id="18_yda1o"]
[ext_resource type="Script" uid="uid://b271comgnsm7k" path="res://scripts/level_keys_slot.gd" id="19_jf5vi"]
[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"]
@@ -37,6 +39,9 @@ gradient = SubResource("Gradient_1ghxf")
width = 1
[node name="HUD" type="Control" unique_id=1043151471]
visible = false
z_index = -4096
z_as_relative = false
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
@@ -328,7 +333,7 @@ fsr_sharpness = 2.0
canvas_item_default_texture_filter = 0
gui_disable_input = true
size = Vector2i(392, 204)
render_target_update_mode = 4
render_target_update_mode = 0
[node name="Camera3D" type="Camera3D" parent="Control/PanelContainer/HBoxContainer/VBoxContainer3/PanelContainer3/SubViewportContainer/SubViewport" unique_id=1409788025]
transform = Transform3D(1, 0, 0, 0, -4.371139e-08, 1, 0, -1, -4.371139e-08, 0, 11000, 0)
@@ -336,18 +341,20 @@ keep_aspect = 0
projection = 1
size = 25.0
[node name="Control2" type="Control" parent="Control/PanelContainer/HBoxContainer" unique_id=553237569]
[node name="LevelKeysDisplay" type="Control" parent="Control/PanelContainer/HBoxContainer" unique_id=553237569]
unique_name_in_owner = true
custom_minimum_size = Vector2(165, 0)
layout_mode = 2
script = ExtResource("17_jiiqv")
[node name="Control" type="Control" parent="Control/PanelContainer/HBoxContainer/Control2" unique_id=796737501]
[node name="KeyIcons" type="Control" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay" unique_id=796737501]
anchors_preset = 0
offset_left = 4.0
offset_top = 73.0
offset_right = 44.0
offset_bottom = 113.0
[node name="TextureRect" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=1455316834]
[node name="TextureRect" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=1455316834]
modulate = Color(1, 0, 0, 1)
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
@@ -355,8 +362,9 @@ offset_right = 70.0
offset_bottom = 70.0
texture = ExtResource("17_gomyg")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/Control2/Control/TextureRect" unique_id=1233588231]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect" unique_id=1233588231]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
@@ -367,7 +375,7 @@ text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect2" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=429479574]
[node name="TextureRect2" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=429479574]
modulate = Color(0.110000014, 0.45116657, 1, 1)
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
@@ -376,8 +384,20 @@ offset_right = 141.0
offset_bottom = 70.0
texture = ExtResource("18_jiiqv")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="TextureRect3" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=1785911862]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect2" unique_id=1011355361]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
offset_right = 45.0
offset_bottom = 61.0
theme_override_font_sizes/font_size = 40
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect3" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=1785911862]
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
offset_left = 142.0
@@ -385,8 +405,20 @@ offset_right = 212.0
offset_bottom = 70.0
texture = ExtResource("18_jiiqv")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="TextureRect4" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=1046935539]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect3" unique_id=1945607791]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
offset_right = 45.0
offset_bottom = 61.0
theme_override_font_sizes/font_size = 40
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect4" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=1046935539]
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
offset_left = 213.0
@@ -394,8 +426,20 @@ offset_right = 283.0
offset_bottom = 70.0
texture = ExtResource("18_jiiqv")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="TextureRect5" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=975918224]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect4" unique_id=374824282]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
offset_right = 45.0
offset_bottom = 61.0
theme_override_font_sizes/font_size = 40
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect5" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=975918224]
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
offset_left = 284.0
@@ -403,8 +447,20 @@ offset_right = 354.0
offset_bottom = 70.0
texture = ExtResource("18_jiiqv")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="TextureRect6" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=625210737]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect5" unique_id=191777328]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
offset_right = 45.0
offset_bottom = 61.0
theme_override_font_sizes/font_size = 40
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect6" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=625210737]
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
offset_left = 35.0
@@ -413,8 +469,20 @@ offset_right = 105.0
offset_bottom = 124.0
texture = ExtResource("18_jiiqv")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="TextureRect7" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=1245961877]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect6" unique_id=496418171]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
offset_right = 45.0
offset_bottom = 61.0
theme_override_font_sizes/font_size = 40
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect7" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=1245961877]
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
offset_left = 106.0
@@ -423,8 +491,20 @@ offset_right = 176.0
offset_bottom = 124.0
texture = ExtResource("18_jiiqv")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="TextureRect8" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=378708755]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect7" unique_id=685392140]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
offset_right = 45.0
offset_bottom = 61.0
theme_override_font_sizes/font_size = 40
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect8" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=378708755]
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
offset_left = 177.0
@@ -433,8 +513,20 @@ offset_right = 247.0
offset_bottom = 124.0
texture = ExtResource("18_jiiqv")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="TextureRect9" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/Control2/Control" unique_id=1740281858]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect8" unique_id=258308481]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
offset_right = 45.0
offset_bottom = 61.0
theme_override_font_sizes/font_size = 40
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="TextureRect9" type="TextureRect" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons" unique_id=1740281858]
custom_minimum_size = Vector2(70, 70)
layout_mode = 0
offset_left = 248.0
@@ -443,8 +535,20 @@ offset_right = 318.0
offset_bottom = 124.0
texture = ExtResource("18_jiiqv")
expand_mode = 1
script = ExtResource("19_jf5vi")
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/Control2" unique_id=1986296155]
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay/KeyIcons/TextureRect9" unique_id=1252017015]
layout_mode = 0
offset_left = 22.0
offset_top = 6.0
offset_right = 45.0
offset_bottom = 61.0
theme_override_font_sizes/font_size = 40
text = "1"
horizontal_alignment = 1
vertical_alignment = 1
[node name="Label" type="Label" parent="Control/PanelContainer/HBoxContainer/LevelKeysDisplay" unique_id=1986296155]
layout_mode = 0
offset_left = 20.0
offset_top = -2.0

View File

@@ -1,7 +1,7 @@
[gd_scene load_steps=8 format=4 uid="uid://dyvov4i48mqoi"]
[gd_scene format=4 uid="uid://dyvov4i48mqoi"]
[ext_resource type="Script" uid="uid://du3s0b1kotb6l" path="res://scripts/collectable.gd" id="1_mbwd5"]
[ext_resource type="Texture2D" uid="uid://b7s2n7xcvntpl" path="res://models/datablock_0.png" id="2_vuv4s"]
[ext_resource type="Script" uid="uid://du3s0b1kotb6l" path="res://scripts/collectable.gd" id="1_qkhpq"]
[ext_resource type="Texture2D" uid="uid://b7s2n7xcvntpl" path="res://models/datablock_0.png" id="2_awic7"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ucvlk"]
resource_name = "material_0"
@@ -9,7 +9,7 @@ transparency = 2
alpha_scissor_threshold = 0.05
alpha_antialiasing_mode = 0
cull_mode = 2
albedo_texture = ExtResource("2_vuv4s")
albedo_texture = ExtResource("2_awic7")
texture_filter = 0
texture_repeat = false
@@ -52,29 +52,29 @@ specular_mode = 1
disable_ambient_light = true
disable_fog = true
disable_specular_occlusion = true
albedo_texture = ExtResource("2_vuv4s")
albedo_texture = ExtResource("2_awic7")
emission_enabled = true
emission = Color(1, 1, 1, 1)
emission_energy_multiplier = 1.66
emission_operator = 1
emission_texture = ExtResource("2_vuv4s")
emission_texture = ExtResource("2_awic7")
texture_filter = 0
[sub_resource type="BoxShape3D" id="BoxShape3D_5c3s5"]
size = Vector3(0.6, 0.6, 0.6)
[node name="Datablock Pickup" type="Area3D"]
[node name="Datakey Collectable" type="Area3D" unique_id=829925049]
collision_layer = 0
collision_mask = 2
script = ExtResource("1_mbwd5")
script = ExtResource("1_qkhpq")
[node name="mesh" type="MeshInstance3D" parent="."]
[node name="mesh" type="MeshInstance3D" parent="." unique_id=351493120]
transform = Transform3D(0.21338832, -0.036611654, 0.125, 0.125, 0.125, -0.17677669, -0.036611654, 0.21338832, 0.125, 0.0036189556, 0.63486314, -0.1206578)
mesh = SubResource("ArrayMesh_v5j1m")
skeleton = NodePath("")
surface_material_override/0 = SubResource("StandardMaterial3D_lnid6")
[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1633579945]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.63486314, 0)
shape = SubResource("BoxShape3D_5c3s5")

View File

@@ -45,6 +45,7 @@ _surfaces = [{
blend_shape_mode = 0
[sub_resource type="ArrayMesh" id="ArrayMesh_4gip8"]
resource_local_to_scene = true
resource_name = "blockbench_export_mesh"
_surfaces = [{
"aabb": AABB(-0.59375, 0.4375, -0.69375, 1.1875, 0.125, 1.3875),

View File

@@ -0,0 +1,93 @@
[gd_scene format=3 uid="uid://blr4vdwnwgflw"]
[ext_resource type="Script" uid="uid://wgdonh5sgkbj" path="res://scripts/particle_preloader.gd" id="1_ujj5j"]
[ext_resource type="PackedScene" uid="uid://bflg720h1w3d3" path="res://experimental/BinbunVFX/impact_explosions/effects/explosion/vfx_explosion_01.tscn" id="2_hv0mh"]
[ext_resource type="PackedScene" uid="uid://dato0qpbqvwnj" path="res://experimental/BinbunVFX/impact_explosions/effects/explosion/vfx_explosion_02.tscn" id="3_53l37"]
[ext_resource type="PackedScene" uid="uid://cdsloy1kvhikp" path="res://experimental/BinbunVFX/impact_explosions/effects/explosion/vfx_explosion_03.tscn" id="4_tjw5m"]
[ext_resource type="PackedScene" uid="uid://cl82y5gxnb8d6" path="res://experimental/BinbunVFX/impact_explosions/effects/explosion/vfx_explosion_04.tscn" id="5_6v5k1"]
[ext_resource type="PackedScene" uid="uid://shl0iw1x775r" path="res://experimental/BinbunVFX/impact_explosions/effects/explosion/vfx_explosion_05.tscn" id="6_ohors"]
[ext_resource type="PackedScene" uid="uid://bjru1p8jhdp1b" path="res://experimental/BinbunVFX/impact_explosions/effects/explosion/vfx_explosion_06.tscn" id="7_adiwo"]
[ext_resource type="Texture2D" uid="uid://qs7mgm4vors6" path="res://visuals/textures/T_smoke_b7.png" id="8_3qfno"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_iiolj"]
transparency = 1
vertex_color_use_as_albedo = true
vertex_color_is_srgb = true
albedo_texture = ExtResource("8_3qfno")
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_ycwsw"]
_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_ycwsw")
[sub_resource type="Gradient" id="Gradient_p2vhn"]
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_p2vhn")
use_hdr = true
[sub_resource type="Curve" id="Curve_5qnhd"]
_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_5qnhd")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_8dlm7"]
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_pkgnv"]
[node name="Particle Preloader" type="Node3D" unique_id=1060355138]
process_mode = 3
script = ExtResource("1_ujj5j")
[node name="VFXExplosion_01" parent="." unique_id=1915848858 instance=ExtResource("2_hv0mh")]
[node name="VFXExplosion_02" parent="." unique_id=1672456492 instance=ExtResource("3_53l37")]
[node name="VFXExplosion_03" parent="." unique_id=1493313628 instance=ExtResource("4_tjw5m")]
[node name="VFXExplosion_04" parent="." unique_id=1390196907 instance=ExtResource("5_6v5k1")]
[node name="VFXExplosion_05" parent="." unique_id=2086130807 instance=ExtResource("6_ohors")]
[node name="VFXExplosion_06" parent="." unique_id=780537582 instance=ExtResource("7_adiwo")]
[node name="ParticleFX" type="GPUParticles3D" parent="." unique_id=1139919787]
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_iiolj")
emitting = false
amount = 25
one_shot = true
explosiveness = 0.18
fixed_fps = 60
process_material = SubResource("ParticleProcessMaterial_8dlm7")
draw_pass_1 = SubResource("QuadMesh_pkgnv")

View File

@@ -11,7 +11,7 @@
[ext_resource type="Script" uid="uid://cvuoq81ipid2o" path="res://scripts/pawn_input.gd" id="22_pnc3q"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_a5wj7"]
radius = 0.25
radius = 0.22
height = 0.75
[sub_resource type="SceneReplicationConfig" id="SceneReplicationConfig_h27ep"]
@@ -50,10 +50,7 @@ floor_constant_speed = true
floor_max_angle = 0.93549645
floor_snap_length = 1.0
script = ExtResource("1_h27ep")
pawn_name = null
speed = 2.25
id = null
state = null
[node name="CollisionShape3D" type="CollisionShape3D" parent="." unique_id=1404919876]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.375, 0)

BIN
templates/pawns/a.scn Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
templates/pawns/b.scn Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
templates/pawns/c.scn Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
templates/pawns/d.scn Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
templates/pawns/e.scn Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long

BIN
templates/pawns/f.scn Normal file

Binary file not shown.

File diff suppressed because one or more lines are too long