2023-04-06 21:19:37 +02:00
|
|
|
[gd_scene load_steps=17 format=2]
|
2022-12-31 23:03:26 +01:00
|
|
|
|
|
|
|
[ext_resource path="res://fire_particle.png" type="Texture" id=1]
|
|
|
|
[ext_resource path="res://smoke_particle.png" type="Texture" id=2]
|
|
|
|
[ext_resource path="res://spark_particle2.png" type="Texture" id=3]
|
|
|
|
[ext_resource path="res://flipbook.png" type="Texture" id=7]
|
|
|
|
|
|
|
|
[sub_resource type="CanvasItemMaterial" id=1]
|
|
|
|
blend_mode = 1
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id=2]
|
|
|
|
min_value = -360.0
|
|
|
|
max_value = 360.0
|
|
|
|
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 85.0781 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id=4]
|
|
|
|
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
|
|
|
|
[sub_resource type="CanvasItemMaterial" id=7]
|
|
|
|
blend_mode = 1
|
|
|
|
particles_animation = true
|
|
|
|
particles_anim_h_frames = 2
|
|
|
|
particles_anim_v_frames = 2
|
|
|
|
particles_anim_loop = false
|
|
|
|
|
|
|
|
[sub_resource type="Gradient" id=9]
|
|
|
|
colors = PoolColorArray( 1, 1, 1, 0.806627, 1, 1, 1, 0 )
|
|
|
|
|
|
|
|
[sub_resource type="CanvasItemMaterial" id=12]
|
|
|
|
blend_mode = 1
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id=15]
|
|
|
|
_data = [ Vector2( 0, 0.510742 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[sub_resource type="Gradient" id=13]
|
|
|
|
offsets = PoolRealArray( 0, 0.0769231, 0.16568, 0.266272, 0.378698, 0.491124, 0.609467, 0.704142, 0.804734, 0.911243, 1 )
|
|
|
|
colors = PoolColorArray( 1, 1, 1, 1, 1, 0.152961, 0, 1, 1, 0.726562, 0, 1, 0.78125, 1, 0, 1, 0.289062, 1, 0, 1, 0, 1, 0.472656, 1, 0, 1, 0.835938, 1, 0, 0.71875, 1, 1, 0.21875, 0, 1, 1, 1, 0, 0.773438, 1, 1, 1, 1, 1 )
|
2022-12-31 23:03:26 +01:00
|
|
|
|
|
|
|
[sub_resource type="CanvasItemMaterial" id=20]
|
|
|
|
blend_mode = 1
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id=23]
|
|
|
|
max_value = 50.0
|
|
|
|
_data = [ Vector2( 0, 0 ), 0.0, 0.0, 0, 0, Vector2( 0.0180711, 0 ), 74.6314, 74.6314, 0, 0, Vector2( 0.0392147, 40.9884 ), 0.0, 0.0, 0, 0, Vector2( 1, 50 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
|
|
|
|
[sub_resource type="Curve" id=25]
|
|
|
|
max_value = 2.0
|
|
|
|
_data = [ Vector2( 0, 0 ), 0.0, 1.78215, 0, 0, Vector2( 0.282731, 1.17848 ), -1.56917, 21.2492, 0, 0, Vector2( 0.311895, 2 ), 1.46231, 0.0, 0, 0, Vector2( 1, 2 ), 0.0, 0.0, 0, 0 ]
|
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[sub_resource type="Gradient" id=21]
|
|
|
|
offsets = PoolRealArray( 0, 0.171598, 0.301775, 0.390533, 1 )
|
|
|
|
colors = PoolColorArray( 1, 0.63501, 0.28125, 1, 1, 0.398438, 0, 1, 0.679688, 0.277451, 0.169922, 0.232039, 0.515625, 0.362454, 0.199402, 0.0784314, 1, 1, 1, 0.0839033 )
|
2022-12-31 23:03:26 +01:00
|
|
|
|
|
|
|
[node name="Particles" type="Node"]
|
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[node name="Fire" type="CPUParticles2D" parent="."]
|
2022-12-31 23:03:26 +01:00
|
|
|
material = SubResource( 1 )
|
|
|
|
position = Vector2( 122, 502 )
|
|
|
|
amount = 32
|
|
|
|
preprocess = 0.1
|
|
|
|
texture = ExtResource( 1 )
|
2023-04-06 21:19:37 +02:00
|
|
|
emission_shape = 1
|
|
|
|
emission_sphere_radius = 8.0
|
|
|
|
gravity = Vector2( 0, -26 )
|
|
|
|
angular_velocity = 1.0
|
|
|
|
angular_velocity_curve = SubResource( 2 )
|
|
|
|
linear_accel = 50.0
|
|
|
|
linear_accel_random = 1.0
|
|
|
|
damping = 2.0
|
|
|
|
scale_amount_curve = SubResource( 4 )
|
|
|
|
color = Color( 0.859375, 0.180278, 0.0469971, 1 )
|
2022-12-31 23:03:26 +01:00
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[node name="Flipbook" type="CPUParticles2D" parent="."]
|
2022-12-31 23:03:26 +01:00
|
|
|
material = SubResource( 7 )
|
|
|
|
position = Vector2( 392, 215 )
|
|
|
|
amount = 20
|
|
|
|
lifetime = 3.0
|
|
|
|
preprocess = 0.1
|
|
|
|
texture = ExtResource( 7 )
|
2023-04-06 21:19:37 +02:00
|
|
|
emission_shape = 1
|
|
|
|
emission_sphere_radius = 75.0
|
|
|
|
gravity = Vector2( 0, -26 )
|
|
|
|
angular_velocity = 1.0
|
|
|
|
angular_velocity_curve = SubResource( 2 )
|
|
|
|
linear_accel_random = 1.0
|
|
|
|
damping = 2.0
|
|
|
|
scale_amount_curve = SubResource( 4 )
|
|
|
|
color = Color( 0, 0.67, 2, 1 )
|
|
|
|
hue_variation = 0.05
|
|
|
|
hue_variation_random = 1.0
|
|
|
|
anim_offset = 1.0
|
|
|
|
anim_offset_random = 1.0
|
2022-12-31 23:03:26 +01:00
|
|
|
__meta__ = {
|
|
|
|
"_editor_description_": "Flipbook animation requires setting a custom CanvasItemMaterial with Particles Animation enabled."
|
|
|
|
}
|
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[node name="Smoke" type="CPUParticles2D" parent="."]
|
2022-12-31 23:03:26 +01:00
|
|
|
position = Vector2( 362, 502 )
|
|
|
|
amount = 32
|
|
|
|
lifetime = 2.0
|
|
|
|
preprocess = 0.1
|
|
|
|
texture = ExtResource( 2 )
|
2023-04-06 21:19:37 +02:00
|
|
|
emission_shape = 1
|
|
|
|
emission_sphere_radius = 30.0
|
|
|
|
gravity = Vector2( 0, 0 )
|
|
|
|
initial_velocity = 1.0
|
|
|
|
angular_velocity = 20.0
|
|
|
|
angular_velocity_random = 1.0
|
|
|
|
radial_accel = 50.0
|
|
|
|
damping = 20.0
|
|
|
|
damping_random = 0.2
|
|
|
|
angle = 360.0
|
|
|
|
angle_random = 1.0
|
|
|
|
color_ramp = SubResource( 9 )
|
2022-12-31 23:03:26 +01:00
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[node name="Magic" type="CPUParticles2D" parent="."]
|
2022-12-31 23:03:26 +01:00
|
|
|
material = SubResource( 12 )
|
|
|
|
position = Vector2( 620, 440 )
|
|
|
|
amount = 64
|
|
|
|
lifetime = 2.0
|
|
|
|
preprocess = 0.1
|
|
|
|
randomness = 1.0
|
|
|
|
texture = ExtResource( 3 )
|
2023-04-06 21:19:37 +02:00
|
|
|
emission_shape = 1
|
|
|
|
emission_sphere_radius = 4.0
|
|
|
|
gravity = Vector2( 0, 0 )
|
|
|
|
initial_velocity = 1.0
|
|
|
|
angular_velocity = 100.0
|
|
|
|
tangential_accel = 100.0
|
|
|
|
angle = 360.0
|
|
|
|
angle_random = 1.0
|
|
|
|
scale_amount_curve = SubResource( 15 )
|
|
|
|
color_ramp = SubResource( 13 )
|
|
|
|
hue_variation = 1.0
|
|
|
|
hue_variation_random = 1.0
|
2022-12-31 23:03:26 +01:00
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[node name="Explosion" type="CPUParticles2D" parent="."]
|
2022-12-31 23:03:26 +01:00
|
|
|
material = SubResource( 20 )
|
|
|
|
position = Vector2( 613.467, 182.62 )
|
|
|
|
rotation = 3.13794
|
|
|
|
amount = 16
|
|
|
|
lifetime = 2.0
|
|
|
|
explosiveness = 1.0
|
|
|
|
texture = ExtResource( 2 )
|
2023-04-06 21:19:37 +02:00
|
|
|
emission_shape = 2
|
|
|
|
emission_rect_extents = Vector2( 10, 10 )
|
|
|
|
initial_velocity = 1.0
|
|
|
|
angular_velocity = 26.0
|
|
|
|
radial_accel = 1.0
|
|
|
|
radial_accel_random = 0.3
|
|
|
|
radial_accel_curve = SubResource( 23 )
|
|
|
|
damping = 10.0
|
|
|
|
scale_amount_curve = SubResource( 25 )
|
|
|
|
color_ramp = SubResource( 21 )
|
2022-12-31 23:03:26 +01:00
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[node name="EmitMask" type="CPUParticles2D" parent="."]
|
2022-12-31 23:03:26 +01:00
|
|
|
position = Vector2( 42, -68 )
|
|
|
|
amount = 180
|
|
|
|
lifetime = 0.2
|
|
|
|
texture = ExtResource( 3 )
|
2023-04-06 21:19:37 +02:00
|
|
|
emission_shape = 3
|
|
|
|
emission_points = PoolVector2Array( )
|
|
|
|
emission_colors = PoolColorArray( )
|
|
|
|
gravity = Vector2( 0, 0 )
|
|
|
|
initial_velocity = 1.0
|
|
|
|
color = Color( 0.375, 0.692383, 1, 1 )
|
2022-12-31 23:03:26 +01:00
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[node name="OutlineMask" type="CPUParticles2D" parent="."]
|
2022-12-31 23:03:26 +01:00
|
|
|
position = Vector2( 42, 52 )
|
|
|
|
amount = 180
|
|
|
|
lifetime = 0.2
|
|
|
|
texture = ExtResource( 3 )
|
2023-04-06 21:19:37 +02:00
|
|
|
emission_shape = 3
|
|
|
|
emission_points = PoolVector2Array( )
|
|
|
|
emission_colors = PoolColorArray( )
|
|
|
|
gravity = Vector2( 0, 0 )
|
|
|
|
initial_velocity = 1.0
|
|
|
|
color = Color( 0.375, 0.692383, 1, 1 )
|
2022-12-31 23:03:26 +01:00
|
|
|
|
2023-04-06 21:19:37 +02:00
|
|
|
[node name="DirectionMask" type="CPUParticles2D" parent="."]
|
2022-12-31 23:03:26 +01:00
|
|
|
position = Vector2( 40, 180 )
|
|
|
|
amount = 180
|
|
|
|
lifetime = 0.2
|
|
|
|
texture = ExtResource( 3 )
|
2023-04-06 21:19:37 +02:00
|
|
|
emission_shape = 4
|
|
|
|
emission_points = PoolVector2Array( )
|
|
|
|
emission_normals = PoolVector2Array( )
|
|
|
|
emission_colors = PoolColorArray( )
|
|
|
|
gravity = Vector2( 0, 0 )
|
|
|
|
initial_velocity = 20.0
|
|
|
|
color = Color( 0.214844, 1, 0.392731, 1 )
|
2022-12-31 23:03:26 +01:00
|
|
|
|
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
offset = Vector2( 512, 300 )
|