mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-20 21:23:47 +00:00
Explosions
This commit is contained in:
parent
4bc76cc475
commit
e1d6afa512
21 changed files with 323 additions and 24 deletions
30
Scenes/Explosion.tscn
Normal file
30
Scenes/Explosion.tscn
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://jmijre3eaf8m"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_417ds"]
|
||||
colors = PackedColorArray(0.90732, 0.880677, 0.238848, 1, 1, 0.223786, 0.223786, 1)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_b2evf"]
|
||||
gradient = SubResource("Gradient_417ds")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_xis5v"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0.340659), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_y21cl"]
|
||||
curve = SubResource("Curve_xis5v")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_4vw6r"]
|
||||
particle_flag_disable_z = true
|
||||
spread = 180.0
|
||||
initial_velocity_min = 30.0
|
||||
initial_velocity_max = 75.0
|
||||
gravity = Vector3(0, 0, 0)
|
||||
damping_min = 28.0
|
||||
damping_max = 28.0
|
||||
scale_curve = SubResource("CurveTexture_y21cl")
|
||||
color_ramp = SubResource("GradientTexture1D_b2evf")
|
||||
|
||||
[node name="Explosion" type="GPUParticles2D"]
|
||||
amount = 20
|
||||
process_material = SubResource("ParticleProcessMaterial_4vw6r")
|
||||
explosiveness = 1.0
|
||||
Loading…
Add table
Add a link
Reference in a new issue