More work on pickups, started to implement the UI for data keys, swapped trap selections, FIRST PASS OF MULTIPLAYER CHECKS, title screen swapped.

This commit is contained in:
2026-03-23 02:34:25 -04:00
parent 9d931a3b46
commit 86f655ff07
57 changed files with 1714 additions and 1271 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=59 format=3 uid="uid://bflg720h1w3d3"]
[gd_scene format=3 uid="uid://bflg720h1w3d3"]
[ext_resource type="Script" uid="uid://tb7n6ybv43ch" path="res://experimental/BinbunVFX/shared/script/vfx_controller.gd" id="1_so17j"]
[ext_resource type="Shader" uid="uid://b6ke6r1fjb8s3" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explosion_core.gdshader" id="2_d2rk6"]
@@ -475,9 +475,11 @@ _data = {
&"main": SubResource("Animation_v36aq")
}
[node name="VFXExplosion_01" type="Node3D"]
[node name="VFXExplosion_01" type="Node3D" unique_id=1915848858]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
script = ExtResource("1_so17j")
preview = false
one_shot = true
primary_color = Color(1, 0.662745, 0.0666667, 1)
secondary_color = Color(0.984314, 0.192157, 0, 1)
tertiary_color = Color(0.227451, 0.223529, 0.180392, 1)
@@ -485,12 +487,12 @@ light_color = Color(1, 0.662745, 0.0666667, 1)
light_energy = 12.0
alpha_mode = 1
[node name="Core" type="MeshInstance3D" parent="."]
[node name="Core" type="MeshInstance3D" parent="." unique_id=1466137156]
layers = 540672
material_override = SubResource("ShaderMaterial_e6ocy")
mesh = SubResource("SphereMesh_awqfb")
[node name="Smoke" type="GPUParticles3D" parent="."]
[node name="Smoke" type="GPUParticles3D" parent="." unique_id=1546206057]
layers = 540672
material_override = ExtResource("2_plj08")
emitting = false
@@ -501,7 +503,7 @@ explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_cp01m")
draw_pass_1 = SubResource("SphereMesh_plj08")
[node name="Sparks" type="GPUParticles3D" parent="."]
[node name="Sparks" type="GPUParticles3D" parent="." unique_id=1580014307]
layers = 540672
material_override = SubResource("ShaderMaterial_msnhc")
emitting = false
@@ -513,7 +515,7 @@ transform_align = 3
process_material = SubResource("ParticleProcessMaterial_msnhc")
draw_pass_1 = SubResource("QuadMesh_so17j")
[node name="Rings" type="GPUParticles3D" parent="."]
[node name="Rings" type="GPUParticles3D" parent="." unique_id=312404838]
layers = 540672
material_override = SubResource("ShaderMaterial_y01pw")
emitting = false
@@ -524,7 +526,7 @@ explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_otofc")
draw_pass_1 = SubResource("QuadMesh_otofc")
[node name="Dust" type="GPUParticles3D" parent="."]
[node name="Dust" type="GPUParticles3D" parent="." unique_id=159984480]
layers = 540672
sorting_offset = -1.0
material_override = SubResource("ShaderMaterial_85p3d")
@@ -535,7 +537,7 @@ explosiveness = 0.9
process_material = SubResource("ParticleProcessMaterial_csir3")
draw_pass_1 = SubResource("QuadMesh_e6ocy")
[node name="Decal" type="Decal" parent="."]
[node name="Decal" type="Decal" parent="." unique_id=202182820]
visible = false
size = Vector3(5, 5, 5)
texture_albedo = ExtResource("5_otofc")
@@ -545,7 +547,7 @@ modulate = Color(0, 0, 0, 1)
albedo_mix = 0.0
cull_mask = 507903
[node name="Light" type="OmniLight3D" parent="."]
[node name="Light" type="OmniLight3D" parent="." unique_id=1611743251]
light_color = Color(1, 0.662745, 0.0666667, 1)
light_energy = 12.0
light_size = 4.0
@@ -554,9 +556,7 @@ omni_range = 8.0
script = ExtResource("9_85p3d")
base_energy = 12.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1543730117]
callback_mode_method = 1
libraries = {
&"": SubResource("AnimationLibrary_plj08")
}
autoplay = "RESET"
libraries/ = SubResource("AnimationLibrary_plj08")
autoplay = &"RESET"

View File

@@ -1,14 +1,14 @@
[gd_scene load_steps=67 format=3 uid="uid://dato0qpbqvwnj"]
[gd_scene format=3 uid="uid://dato0qpbqvwnj"]
[ext_resource type="Shader" uid="uid://de7cy2qqnf2p5" path="res://assets/BinbunVFX/impact_explosions/src/shader/explosion_core_particle.gdshader" id="1_8n8gd"]
[ext_resource type="Script" uid="uid://tb7n6ybv43ch" path="res://assets/BinbunVFX/shared/script/vfx_controller.gd" id="1_cdqbm"]
[ext_resource type="Shader" uid="uid://b1sjgiq8o4tvd" path="res://assets/BinbunVFX/impact_explosions/src/shader/explosion_smoke.gdshader" id="1_sadvm"]
[ext_resource type="Shader" uid="uid://d28ltkmbbdcjb" path="res://assets/BinbunVFX/impact_explosions/src/shader/sparks.gdshader" id="2_8n8gd"]
[ext_resource type="Shader" uid="uid://bf8eiigjam2fr" path="res://assets/BinbunVFX/impact_explosions/src/shader/explostion_ring.gdshader" id="3_cdqbm"]
[ext_resource type="Texture2D" uid="uid://85fb3gemkbhp" path="res://assets/BinbunVFX/shared/texture/cracks_01.png" id="6_bdwyf"]
[ext_resource type="Shader" uid="uid://ccd4kg68n7uox" path="res://assets/BinbunVFX/impact_explosions/src/shader/basic_billboard.gdshader" id="6_haqe0"]
[ext_resource type="Texture2D" uid="uid://bbxo5nkvy537a" path="res://assets/BinbunVFX/shared/texture/cracks_emission_01.png" id="7_haqe0"]
[ext_resource type="Script" uid="uid://bdk8hhttligw" path="res://assets/BinbunVFX/shared/script/vfx_light.gd" id="9_bqkcx"]
[ext_resource type="Shader" uid="uid://de7cy2qqnf2p5" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explosion_core_particle.gdshader" id="1_8n8gd"]
[ext_resource type="Script" uid="uid://tb7n6ybv43ch" path="res://experimental/BinbunVFX/shared/script/vfx_controller.gd" id="1_cdqbm"]
[ext_resource type="Shader" uid="uid://b1sjgiq8o4tvd" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explosion_smoke.gdshader" id="1_sadvm"]
[ext_resource type="Shader" uid="uid://d28ltkmbbdcjb" path="res://experimental/BinbunVFX/impact_explosions/src/shader/sparks.gdshader" id="2_8n8gd"]
[ext_resource type="Shader" uid="uid://bf8eiigjam2fr" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explostion_ring.gdshader" id="3_cdqbm"]
[ext_resource type="Texture2D" uid="uid://85fb3gemkbhp" path="res://experimental/BinbunVFX/shared/texture/cracks_01.png" id="6_bdwyf"]
[ext_resource type="Shader" uid="uid://ccd4kg68n7uox" path="res://experimental/BinbunVFX/impact_explosions/src/shader/basic_billboard.gdshader" id="6_haqe0"]
[ext_resource type="Texture2D" uid="uid://bbxo5nkvy537a" path="res://experimental/BinbunVFX/shared/texture/cracks_emission_01.png" id="7_haqe0"]
[ext_resource type="Script" uid="uid://bdk8hhttligw" path="res://experimental/BinbunVFX/shared/script/vfx_light.gd" id="9_bqkcx"]
[sub_resource type="Gradient" id="Gradient_8n8gd"]
@@ -22,9 +22,9 @@ domain_warp_amplitude = 5.0
domain_warp_fractal_octaves = 1
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_haqe0"]
seamless = true
color_ramp = SubResource("Gradient_8n8gd")
noise = SubResource("FastNoiseLite_cdqbm")
color_ramp = SubResource("Gradient_8n8gd")
seamless = true
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bdwyf"]
resource_local_to_scene = true
@@ -74,9 +74,9 @@ domain_warp_fractal_octaves = 2
domain_warp_fractal_lacunarity = 4.165
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_bqkcx"]
noise = SubResource("FastNoiseLite_8n8gd")
seamless = true
normalize = false
noise = SubResource("FastNoiseLite_8n8gd")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_w7scw"]
frequency = 0.005
@@ -89,9 +89,9 @@ domain_warp_frequency = 0.005
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_rmi04"]
width = 128
height = 128
invert = true
seamless = true
noise = SubResource("FastNoiseLite_w7scw")
seamless = true
invert = true
[sub_resource type="ShaderMaterial" id="ShaderMaterial_bqkcx"]
render_priority = 0
@@ -201,8 +201,8 @@ noise_type = 2
fractal_octaves = 3
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_kp1a8"]
seamless = true
noise = SubResource("FastNoiseLite_sadvm")
seamless = true
[sub_resource type="Gradient" id="Gradient_w7scw"]
offsets = PackedFloat32Array(0.868159, 0.980099, 1)
@@ -274,10 +274,10 @@ frequency = 0.02
fractal_octaves = 2
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_1gfff"]
invert = true
seamless = true
seamless_blend_skirt = 1.0
noise = SubResource("FastNoiseLite_rmi04")
seamless = true
invert = true
seamless_blend_skirt = 1.0
[sub_resource type="ShaderMaterial" id="ShaderMaterial_1gfff"]
render_priority = 0
@@ -532,15 +532,17 @@ _data = {
&"main": SubResource("Animation_sadvm")
}
[node name="VFXExplosion_02" type="Node3D"]
[node name="VFXExplosion_02" type="Node3D" unique_id=1672456492]
script = ExtResource("1_cdqbm")
preview = false
one_shot = true
primary_color = Color(1, 0.294118, 0.0666667, 1)
secondary_color = Color(0.713726, 0.192157, 0, 1)
tertiary_color = Color(0.227451, 0.223529, 0.180392, 1)
light_color = Color(1, 0.294118, 0.0666667, 1)
light_energy = 12.0
[node name="Core" type="GPUParticles3D" parent="."]
[node name="Core" type="GPUParticles3D" parent="." unique_id=1930442028]
material_override = SubResource("ShaderMaterial_bdwyf")
emitting = false
amount = 2
@@ -549,7 +551,7 @@ explosiveness = 0.8
process_material = SubResource("ParticleProcessMaterial_sadvm")
draw_pass_1 = SubResource("SphereMesh_cdqbm")
[node name="Smoke" type="GPUParticles3D" parent="."]
[node name="Smoke" type="GPUParticles3D" parent="." unique_id=1470245299]
layers = 540672
material_override = SubResource("ShaderMaterial_bqkcx")
emitting = false
@@ -560,7 +562,7 @@ explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_1gfff")
draw_pass_1 = SubResource("SphereMesh_lnkdc")
[node name="Sparks" type="GPUParticles3D" parent="."]
[node name="Sparks" type="GPUParticles3D" parent="." unique_id=1982554184]
layers = 540672
material_override = SubResource("ShaderMaterial_cdqbm")
emitting = false
@@ -572,7 +574,7 @@ transform_align = 3
process_material = SubResource("ParticleProcessMaterial_bqkcx")
draw_pass_1 = SubResource("QuadMesh_rmi04")
[node name="Rings" type="GPUParticles3D" parent="."]
[node name="Rings" type="GPUParticles3D" parent="." unique_id=1696110943]
layers = 540672
material_override = SubResource("ShaderMaterial_haqe0")
emitting = false
@@ -582,7 +584,7 @@ explosiveness = 0.9
process_material = SubResource("ParticleProcessMaterial_lnkdc")
draw_pass_1 = SubResource("QuadMesh_tbk35")
[node name="Dust" type="GPUParticles3D" parent="."]
[node name="Dust" type="GPUParticles3D" parent="." unique_id=360698639]
layers = 540672
sorting_offset = -1.0
material_override = SubResource("ShaderMaterial_1gfff")
@@ -593,7 +595,7 @@ explosiveness = 0.9
process_material = SubResource("ParticleProcessMaterial_dswvj")
draw_pass_1 = SubResource("QuadMesh_h88cn")
[node name="Decal" type="Decal" parent="."]
[node name="Decal" type="Decal" parent="." unique_id=182059197]
size = Vector3(4, 4, 4)
texture_albedo = ExtResource("6_bdwyf")
texture_emission = ExtResource("7_haqe0")
@@ -601,7 +603,7 @@ emission_energy = 4.0
modulate = Color(1, 0.32549, 0, 1)
cull_mask = 507903
[node name="Light" type="OmniLight3D" parent="."]
[node name="Light" type="OmniLight3D" parent="." unique_id=991675899]
light_color = Color(1, 0.294118, 0.0666667, 1)
light_energy = 12.0
light_size = 4.0
@@ -610,7 +612,5 @@ omni_range = 8.0
script = ExtResource("9_bqkcx")
base_energy = 12.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_8n8gd")
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1815067620]
libraries/ = SubResource("AnimationLibrary_8n8gd")

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=54 format=3 uid="uid://cdsloy1kvhikp"]
[gd_scene format=3 uid="uid://cdsloy1kvhikp"]
[ext_resource type="Shader" uid="uid://de7cy2qqnf2p5" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explosion_core_particle.gdshader" id="1_bprbm"]
[ext_resource type="Script" uid="uid://tb7n6ybv43ch" path="res://experimental/BinbunVFX/shared/script/vfx_controller.gd" id="1_enhek"]
@@ -446,15 +446,17 @@ _data = {
&"main": SubResource("Animation_v7cek")
}
[node name="VFXExplosion_03" type="Node3D"]
[node name="VFXExplosion_03" type="Node3D" unique_id=1493313628]
script = ExtResource("1_enhek")
preview = false
one_shot = true
primary_color = Color(1, 0.529412, 0, 1)
secondary_color = Color(1, 0.337255, 0, 1)
tertiary_color = Color(0.227451, 0.223529, 0.180392, 1)
light_color = Color(1, 0.529412, 0, 1)
light_energy = 8.0
[node name="Core" type="GPUParticles3D" parent="."]
[node name="Core" type="GPUParticles3D" parent="." unique_id=312730182]
material_override = SubResource("ShaderMaterial_j37f4")
emitting = false
amount = 1
@@ -464,7 +466,7 @@ explosiveness = 0.8
process_material = SubResource("ParticleProcessMaterial_fl6r8")
draw_pass_1 = SubResource("SphereMesh_7ufuy")
[node name="Smoke" type="GPUParticles3D" parent="."]
[node name="Smoke" type="GPUParticles3D" parent="." unique_id=2068506687]
layers = 540672
material_override = SubResource("ShaderMaterial_fyady")
emitting = false
@@ -475,7 +477,7 @@ explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_gt25t")
draw_pass_1 = SubResource("SphereMesh_bprbm")
[node name="Spikes" type="GPUParticles3D" parent="."]
[node name="Spikes" type="GPUParticles3D" parent="." unique_id=264003257]
layers = 540672
emitting = false
amount = 16
@@ -486,7 +488,7 @@ transform_align = 2
process_material = SubResource("ParticleProcessMaterial_j37f4")
draw_pass_1 = SubResource("SphereMesh_enhek")
[node name="Dust" type="GPUParticles3D" parent="."]
[node name="Dust" type="GPUParticles3D" parent="." unique_id=1215858331]
layers = 540672
sorting_offset = -1.0
material_override = SubResource("ShaderMaterial_w0g5g")
@@ -496,7 +498,7 @@ explosiveness = 0.9
process_material = SubResource("ParticleProcessMaterial_8ijvx")
draw_pass_1 = SubResource("QuadMesh_yg62c")
[node name="Decal" type="Decal" parent="."]
[node name="Decal" type="Decal" parent="." unique_id=779162809]
size = Vector3(4, 4, 4)
texture_albedo = ExtResource("4_1bdqt")
texture_emission = ExtResource("5_t82mc")
@@ -504,7 +506,7 @@ emission_energy = 4.0
modulate = Color(1, 0.32549, 0, 1)
cull_mask = 507903
[node name="Light" type="OmniLight3D" parent="."]
[node name="Light" type="OmniLight3D" parent="." unique_id=1297384187]
light_color = Color(1, 0.529412, 0, 1)
light_energy = 8.0
light_size = 4.0
@@ -513,8 +515,6 @@ omni_range = 8.0
script = ExtResource("7_j37f4")
base_energy = 8.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_1ahis")
}
autoplay = "main"
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1195111952]
libraries/ = SubResource("AnimationLibrary_1ahis")
autoplay = &"main"

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=43 format=3 uid="uid://cl82y5gxnb8d6"]
[gd_scene format=3 uid="uid://cl82y5gxnb8d6"]
[ext_resource type="Script" uid="uid://tb7n6ybv43ch" path="res://experimental/BinbunVFX/shared/script/vfx_controller.gd" id="1_gkc2v"]
[ext_resource type="Shader" uid="uid://de7cy2qqnf2p5" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explosion_core_particle.gdshader" id="1_k4fxl"]
@@ -356,15 +356,17 @@ _data = {
&"main": SubResource("Animation_k4fxl")
}
[node name="VFXExplosion_04" type="Node3D"]
[node name="VFXExplosion_04" type="Node3D" unique_id=1390196907]
transform = Transform3D(0.5, 0, 0, 0, 0.5, 0, 0, 0, 0.5, 0, 0, 0)
script = ExtResource("1_gkc2v")
preview = false
one_shot = true
primary_color = Color(1, 0.529412, 0, 1)
secondary_color = Color(1, 0.337255, 0, 1)
tertiary_color = Color(0.227451, 0.223529, 0.180392, 1)
light_color = Color(1, 0.529412, 0, 1)
[node name="Core" type="GPUParticles3D" parent="."]
[node name="Core" type="GPUParticles3D" parent="." unique_id=2042306723]
material_override = SubResource("ShaderMaterial_g57xf")
emitting = false
amount = 1
@@ -374,7 +376,7 @@ explosiveness = 0.8
process_material = SubResource("ParticleProcessMaterial_8n3be")
draw_pass_1 = SubResource("SphereMesh_hvte5")
[node name="Smoke" type="GPUParticles3D" parent="."]
[node name="Smoke" type="GPUParticles3D" parent="." unique_id=1343205197]
layers = 540672
material_override = SubResource("ShaderMaterial_lt01u")
emitting = false
@@ -385,7 +387,7 @@ explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_f2s7u")
draw_pass_1 = SubResource("SphereMesh_13ab5")
[node name="Sparks" type="GPUParticles3D" parent="."]
[node name="Sparks" type="GPUParticles3D" parent="." unique_id=1417955337]
layers = 540672
material_override = SubResource("ShaderMaterial_gkc2v")
emitting = false
@@ -397,7 +399,7 @@ transform_align = 3
process_material = SubResource("ParticleProcessMaterial_hvte5")
draw_pass_1 = SubResource("QuadMesh_kxca7")
[node name="Decal" type="Decal" parent="."]
[node name="Decal" type="Decal" parent="." unique_id=177625817]
sorting_offset = -1.0
texture_albedo = ExtResource("4_g57xf")
texture_emission = ExtResource("5_gkc2v")
@@ -405,7 +407,7 @@ emission_energy = 4.0
modulate = Color(1, 0.32549, 0, 1)
cull_mask = 507903
[node name="Light" type="OmniLight3D" parent="."]
[node name="Light" type="OmniLight3D" parent="." unique_id=1733467689]
light_color = Color(1, 0.529412, 0, 1)
light_energy = 4.0
light_size = 4.0
@@ -414,7 +416,5 @@ omni_range = 8.0
script = ExtResource("7_3n50y")
base_energy = 4.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_ppd7v")
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=1784558047]
libraries/ = SubResource("AnimationLibrary_ppd7v")

View File

@@ -1,12 +1,12 @@
[gd_scene load_steps=43 format=3 uid="uid://shl0iw1x775r"]
[gd_scene format=3 uid="uid://shl0iw1x775r"]
[ext_resource type="Shader" uid="uid://de7cy2qqnf2p5" path="res://assets/BinbunVFX/impact_explosions/src/shader/explosion_core_particle.gdshader" id="1_pc1m8"]
[ext_resource type="Script" uid="uid://tb7n6ybv43ch" path="res://assets/BinbunVFX/shared/script/vfx_controller.gd" id="1_vxewg"]
[ext_resource type="Shader" uid="uid://b1sjgiq8o4tvd" path="res://assets/BinbunVFX/impact_explosions/src/shader/explosion_smoke.gdshader" id="2_vxewg"]
[ext_resource type="Shader" uid="uid://d28ltkmbbdcjb" path="res://assets/BinbunVFX/impact_explosions/src/shader/sparks.gdshader" id="3_wbyke"]
[ext_resource type="Texture2D" uid="uid://85fb3gemkbhp" path="res://assets/BinbunVFX/shared/texture/cracks_01.png" id="4_ro6ym"]
[ext_resource type="Texture2D" uid="uid://bbxo5nkvy537a" path="res://assets/BinbunVFX/shared/texture/cracks_emission_01.png" id="5_c84e7"]
[ext_resource type="Script" uid="uid://bdk8hhttligw" path="res://assets/BinbunVFX/shared/script/vfx_light.gd" id="6_xgs5v"]
[ext_resource type="Shader" uid="uid://de7cy2qqnf2p5" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explosion_core_particle.gdshader" id="1_pc1m8"]
[ext_resource type="Script" uid="uid://tb7n6ybv43ch" path="res://experimental/BinbunVFX/shared/script/vfx_controller.gd" id="1_vxewg"]
[ext_resource type="Shader" uid="uid://b1sjgiq8o4tvd" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explosion_smoke.gdshader" id="2_vxewg"]
[ext_resource type="Shader" uid="uid://d28ltkmbbdcjb" path="res://experimental/BinbunVFX/impact_explosions/src/shader/sparks.gdshader" id="3_wbyke"]
[ext_resource type="Texture2D" uid="uid://85fb3gemkbhp" path="res://experimental/BinbunVFX/shared/texture/cracks_01.png" id="4_ro6ym"]
[ext_resource type="Texture2D" uid="uid://bbxo5nkvy537a" path="res://experimental/BinbunVFX/shared/texture/cracks_emission_01.png" id="5_c84e7"]
[ext_resource type="Script" uid="uid://bdk8hhttligw" path="res://experimental/BinbunVFX/shared/script/vfx_light.gd" id="6_xgs5v"]
[sub_resource type="Gradient" id="Gradient_pc1m8"]
@@ -23,9 +23,9 @@ domain_warp_fractal_lacunarity = 6.89
domain_warp_fractal_gain = 0.765
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_vxewg"]
seamless = true
color_ramp = SubResource("Gradient_pc1m8")
noise = SubResource("FastNoiseLite_vxewg")
color_ramp = SubResource("Gradient_pc1m8")
seamless = true
[sub_resource type="ShaderMaterial" id="ShaderMaterial_ro6ym"]
resource_local_to_scene = true
@@ -77,9 +77,9 @@ domain_warp_fractal_octaves = 2
domain_warp_fractal_lacunarity = 4.165
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_c84e7"]
noise = SubResource("FastNoiseLite_pc1m8")
seamless = true
normalize = false
noise = SubResource("FastNoiseLite_pc1m8")
[sub_resource type="FastNoiseLite" id="FastNoiseLite_wbyke"]
frequency = 0.005
@@ -92,9 +92,9 @@ domain_warp_frequency = 0.005
[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_xgs5v"]
width = 128
height = 128
invert = true
seamless = true
noise = SubResource("FastNoiseLite_wbyke")
seamless = true
invert = true
[sub_resource type="ShaderMaterial" id="ShaderMaterial_c84e7"]
render_priority = 0
@@ -354,14 +354,16 @@ _data = {
&"main": SubResource("Animation_pc1m8")
}
[node name="VFXExplosion_05" type="Node3D"]
[node name="VFXExplosion_05" type="Node3D" unique_id=2086130807]
script = ExtResource("1_vxewg")
preview = false
one_shot = true
primary_color = Color(0.890196, 0.627451, 0.0901961, 1)
secondary_color = Color(0.890196, 0, 0.152941, 1)
tertiary_color = Color(0.215686, 0.215686, 0.180392, 1)
light_color = Color(0.890196, 0.627451, 0.0901961, 1)
[node name="Core" type="GPUParticles3D" parent="."]
[node name="Core" type="GPUParticles3D" parent="." unique_id=615851446]
material_override = SubResource("ShaderMaterial_ro6ym")
emitting = false
amount = 1
@@ -371,7 +373,7 @@ explosiveness = 0.8
process_material = SubResource("ParticleProcessMaterial_jilrt")
draw_pass_1 = SubResource("SphereMesh_6lo2p")
[node name="Smoke" type="GPUParticles3D" parent="."]
[node name="Smoke" type="GPUParticles3D" parent="." unique_id=103514712]
layers = 540672
material_override = SubResource("ShaderMaterial_c84e7")
emitting = false
@@ -382,7 +384,7 @@ explosiveness = 1.0
process_material = SubResource("ParticleProcessMaterial_ifykw")
draw_pass_1 = SubResource("SphereMesh_tgerl")
[node name="Sparks" type="GPUParticles3D" parent="."]
[node name="Sparks" type="GPUParticles3D" parent="." unique_id=1319420001]
layers = 540672
material_override = SubResource("ShaderMaterial_xgs5v")
emitting = false
@@ -393,7 +395,7 @@ transform_align = 3
process_material = SubResource("ParticleProcessMaterial_ro6ym")
draw_pass_1 = SubResource("QuadMesh_pc1m8")
[node name="Decal" type="Decal" parent="."]
[node name="Decal" type="Decal" parent="." unique_id=1106971543]
sorting_offset = -1.0
size = Vector3(1, 1, 1)
texture_albedo = ExtResource("4_ro6ym")
@@ -402,7 +404,7 @@ emission_energy = 4.0
modulate = Color(1, 0.32549, 0, 1)
cull_mask = 507903
[node name="Light" type="OmniLight3D" parent="."]
[node name="Light" type="OmniLight3D" parent="." unique_id=1083331450]
light_color = Color(0.890196, 0.627451, 0.0901961, 1)
light_energy = 4.0
light_size = 4.0
@@ -411,7 +413,5 @@ omni_range = 8.0
script = ExtResource("6_xgs5v")
base_energy = 4.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
libraries = {
&"": SubResource("AnimationLibrary_vxewg")
}
[node name="AnimationPlayer" type="AnimationPlayer" parent="." unique_id=133068635]
libraries/ = SubResource("AnimationLibrary_vxewg")

View File

@@ -1,4 +1,4 @@
[gd_resource type="ShaderMaterial" load_steps=6 format=3 uid="uid://dnw08mtonx63d"]
[gd_resource type="ShaderMaterial" format=3 uid="uid://dnw08mtonx63d"]
[ext_resource type="Shader" uid="uid://b1sjgiq8o4tvd" path="res://experimental/BinbunVFX/impact_explosions/src/shader/explosion_smoke.gdshader" id="1_5yu7f"]

View File

@@ -15,9 +15,8 @@ class_name VFXController
@export var one_shot : bool = false:
set(value):
if Engine.is_editor_hint():
one_shot = value
preview = false
one_shot = value
preview = false
@export var autoplay : bool = true
@@ -122,7 +121,7 @@ var particles : Array[GPUParticles3D] = []
func _ready() -> void:
if Engine.is_editor_hint():
return
print(one_shot)
if autoplay: play()
func _enter_tree() -> void: