-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathexplosion.tscn
33 lines (28 loc) · 1.19 KB
/
explosion.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[gd_scene load_steps=6 format=3 uid="uid://dqgffnsvdyfak"]
[ext_resource type="Texture2D" uid="uid://b8hisr836paek" path="res://sphere.png" id="1_sc0l6"]
[ext_resource type="Script" path="res://explosion.gd" id="2_dc827"]
[sub_resource type="Gradient" id="Gradient_f4knt"]
offsets = PackedFloat32Array(0, 0.217949, 0.464103, 0.75641, 0.879487, 1)
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 0, 1, 1, 0.323077, 0, 1, 1, 0, 0, 1, 0.55, 0.55, 0.55, 0.458824, 0.54902, 0.54902, 0.54902, 0)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_7fuc4"]
gradient = SubResource("Gradient_f4knt")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_ayio8"]
particle_flag_disable_z = true
direction = Vector3(0, 0, 0)
spread = 180.0
gravity = Vector3(0, 0, 0)
initial_velocity_min = 400.0
initial_velocity_max = 400.0
orbit_velocity_min = 0.0
orbit_velocity_max = 0.0
scale_min = 0.2
color_ramp = SubResource("GradientTexture1D_7fuc4")
[node name="Explosion" type="GPUParticles2D"]
emitting = false
amount = 100
process_material = SubResource("ParticleProcessMaterial_ayio8")
texture = ExtResource("1_sc0l6")
lifetime = 0.3
one_shot = true
explosiveness = 0.16
script = ExtResource("2_dc827")