mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-07-05 22:01:16 +00:00
Explosions
This commit is contained in:
parent
4bc76cc475
commit
e1d6afa512
21 changed files with 323 additions and 24 deletions
29
Scenes/Flame.tscn
Normal file
29
Scenes/Flame.tscn
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
[gd_scene load_steps=6 format=3 uid="uid://crf8u0wylcgob"]
|
||||
|
||||
[sub_resource type="Gradient" id="Gradient_rdypf"]
|
||||
offsets = PackedFloat32Array(0, 0.5, 1)
|
||||
colors = PackedColorArray(0.961629, 0.709712, 0.208875, 1, 0.920897, 0.430377, 0.230309, 1, 1, 1, 1, 0.568627)
|
||||
|
||||
[sub_resource type="GradientTexture1D" id="GradientTexture1D_tkcjt"]
|
||||
gradient = SubResource("Gradient_rdypf")
|
||||
|
||||
[sub_resource type="Curve" id="Curve_ar4pe"]
|
||||
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), 0.0, 0.0, 0, 0]
|
||||
point_count = 2
|
||||
|
||||
[sub_resource type="CurveTexture" id="CurveTexture_2gmgs"]
|
||||
curve = SubResource("Curve_ar4pe")
|
||||
|
||||
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_8rmhf"]
|
||||
particle_flag_disable_z = true
|
||||
gravity = Vector3(0, -98, 0)
|
||||
scale_min = 2.0
|
||||
scale_max = 2.0
|
||||
scale_curve = SubResource("CurveTexture_2gmgs")
|
||||
color_ramp = SubResource("GradientTexture1D_tkcjt")
|
||||
turbulence_enabled = true
|
||||
turbulence_noise_scale = 1.08
|
||||
|
||||
[node name="Flame" type="GPUParticles2D"]
|
||||
amount = 50
|
||||
process_material = SubResource("ParticleProcessMaterial_8rmhf")
|
||||
Loading…
Add table
Add a link
Reference in a new issue