-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathExplosion.tscn
38 lines (32 loc) · 1018 Bytes
/
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
34
35
36
37
38
[gd_scene load_steps=6 format=2]
[ext_resource path="res://Explosion.gd" type="Script" id=1]
[ext_resource path="res://explosion.wav" type="AudioStream" id=2]
[sub_resource type="Gradient" id=1]
interpolation_mode = 2
offsets = PoolRealArray( 0.464567, 0.944882 )
colors = PoolColorArray( 0.951172, 1, 0, 1, 1, 0.0644531, 0, 1 )
[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )
[sub_resource type="ParticlesMaterial" id=3]
emission_shape = 1
emission_sphere_radius = 1.0
flag_disable_z = true
direction = Vector3( 0, 0, 0 )
spread = 180.0
gravity = Vector3( 0, 0, 0 )
orbit_velocity = 0.0
orbit_velocity_random = 0.0
radial_accel = 100.0
damping = 100.0
damping_random = 1.0
color_ramp = SubResource( 2 )
[node name="Explosion" type="Particles2D"]
emitting = false
amount = 200
one_shot = true
explosiveness = 0.5
process_material = SubResource( 3 )
script = ExtResource( 1 )
[node name="AudioStreamPlayer2D" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource( 2 )
autoplay = true