Files
godot-demo-projects/2d/particles/particles.tscn
Rémi Verschelde faae60ac2f Port 2D demos to Godot 3.1
Opened them, saved all scenes, ran the project. Did necessary fixes here and there,
fixed some warnings (but some remain in bigger demos).

Did not port JRPG demo yet (#306) nor the two platformer demos.
2019-02-26 14:22:02 +01:00

255 lines
7.3 KiB
Plaintext

[gd_scene load_steps=35 format=2]
[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://point_texture_emit.tres" type="Texture" id=4]
[ext_resource path="res://point_texture_image_outline.tres" type="Texture" id=5]
[ext_resource path="res://point_normal_texture_image_outline.tres" type="Texture" id=6]
[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="CurveTexture" id=3]
curve = SubResource( 2 )
[sub_resource type="Curve" id=4]
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.295898 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=5]
curve = SubResource( 4 )
[sub_resource type="ParticlesMaterial" id=6]
emission_shape = 1
emission_sphere_radius = 8.0
flag_disable_z = true
gravity = Vector3( 0, -26, 0 )
angular_velocity = 1.0
angular_velocity_curve = SubResource( 3 )
orbit_velocity = 0.0
orbit_velocity_random = 0.0
linear_accel = 50.0
linear_accel_random = 1.0
damping = 2.0
scale = 0.8
scale_random = 0.3
scale_curve = SubResource( 5 )
color = Color( 0.859375, 0.180278, 0.0469971, 1 )
[sub_resource type="Gradient" id=7]
colors = PoolColorArray( 1, 1, 1, 0.806627, 1, 1, 1, 0 )
[sub_resource type="GradientTexture" id=8]
gradient = SubResource( 7 )
[sub_resource type="ParticlesMaterial" id=9]
emission_shape = 1
emission_sphere_radius = 30.0
flag_disable_z = true
gravity = Vector3( 0, 0, 0 )
initial_velocity = 1.0
angular_velocity = 20.0
angular_velocity_random = 1.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
radial_accel = 50.0
damping = 20.0
damping_random = 0.2
angle = 360.0
angle_random = 1.0
color_ramp = SubResource( 8 )
[sub_resource type="CanvasItemMaterial" id=10]
blend_mode = 1
[sub_resource type="Gradient" id=11]
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 )
[sub_resource type="GradientTexture" id=12]
gradient = SubResource( 11 )
[sub_resource type="Curve" id=13]
_data = [ Vector2( 0, 0.510742 ), 0.0, 0.0, 0, 0, Vector2( 1, 1 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=14]
curve = SubResource( 13 )
[sub_resource type="Curve" id=15]
_data = [ Vector2( 0, 0.961914 ), 0.0, 0.0, 0, 0, Vector2( 1, 0 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=16]
curve = SubResource( 15 )
[sub_resource type="ParticlesMaterial" id=17]
trail_divisor = 32
trail_size_modifier = SubResource( 16 )
emission_shape = 1
emission_sphere_radius = 4.0
flag_disable_z = true
gravity = Vector3( 0, 0, 0 )
initial_velocity = 1.0
angular_velocity = 100.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
tangential_accel = 100.0
angle = 360.0
angle_random = 1.0
scale = 3.0
scale_curve = SubResource( 14 )
color_ramp = SubResource( 12 )
hue_variation = 1.0
hue_variation_random = 1.0
[sub_resource type="CanvasItemMaterial" id=18]
blend_mode = 1
[sub_resource type="Gradient" id=19]
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 )
[sub_resource type="GradientTexture" id=20]
gradient = SubResource( 19 )
[sub_resource type="Curve" id=21]
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="CurveTexture" id=22]
curve = SubResource( 21 )
[sub_resource type="Curve" id=23]
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 ]
[sub_resource type="CurveTexture" id=24]
curve = SubResource( 23 )
[sub_resource type="ParticlesMaterial" id=25]
emission_shape = 2
emission_box_extents = Vector3( 10, 10, 40 )
flag_rotate_y = true
flag_disable_z = true
gravity = Vector3( 0, 0, 0 )
initial_velocity = 1.0
angular_velocity = 26.0
orbit_velocity = 0.0
orbit_velocity_random = 0.0
radial_accel = 1.0
radial_accel_random = 0.3
radial_accel_curve = SubResource( 22 )
damping = 10.0
scale_curve = SubResource( 24 )
color_ramp = SubResource( 20 )
[sub_resource type="ParticlesMaterial" id=26]
emission_shape = 3
emission_point_texture = ExtResource( 4 )
emission_point_count = 10554
flag_disable_z = true
gravity = Vector3( 0, 0, 0 )
initial_velocity = 1.0
angular_velocity = 1.47136e-43
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale = 0.5
scale_random = 1.0
color = Color( 1, 0.550781, 0.550781, 1 )
[sub_resource type="ParticlesMaterial" id=27]
emission_shape = 3
emission_point_texture = ExtResource( 5 )
emission_point_count = 1288
flag_disable_z = true
gravity = Vector3( 0, 0, 0 )
initial_velocity = 1.0
angular_velocity = 1.47136e-43
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale = 0.5
scale_random = 1.0
color = Color( 0.375, 0.692383, 1, 1 )
[sub_resource type="ParticlesMaterial" id=28]
emission_shape = 4
emission_point_texture = ExtResource( 5 )
emission_normal_texture = ExtResource( 6 )
emission_point_count = 1288
flag_disable_z = true
gravity = Vector3( 0, 0, 0 )
initial_velocity = 20.0
angular_velocity = 1.47136e-43
orbit_velocity = 0.0
orbit_velocity_random = 0.0
scale = 0.5
scale_random = 1.0
color = Color( 0.214844, 1, 0.392731, 1 )
[node name="Node" type="Node"]
[node name="Fire" type="Particles2D" parent="."]
material = SubResource( 1 )
position = Vector2( 122, 502 )
amount = 32
preprocess = 0.1
process_material = SubResource( 6 )
texture = ExtResource( 1 )
[node name="Smoke" type="Particles2D" parent="."]
position = Vector2( 362, 502 )
amount = 32
lifetime = 2.0
preprocess = 0.1
process_material = SubResource( 9 )
texture = ExtResource( 2 )
[node name="Magic" type="Particles2D" parent="."]
material = SubResource( 10 )
position = Vector2( 620, 440 )
amount = 64
lifetime = 2.0
preprocess = 0.1
randomness = 1.0
process_material = SubResource( 17 )
texture = ExtResource( 3 )
[node name="Explosion" type="Particles2D" parent="."]
material = SubResource( 18 )
position = Vector2( 613.467, 182.62 )
rotation = 3.13794
amount = 16
lifetime = 2.0
explosiveness = 1.0
process_material = SubResource( 25 )
texture = ExtResource( 2 )
[node name="Emit_Mask" type="Particles2D" parent="."]
position = Vector2( 42, -68 )
amount = 180
lifetime = 0.2
visibility_rect = Rect2( 26.0055, 90.0015, 199.176, 95.0445 )
process_material = SubResource( 26 )
texture = ExtResource( 3 )
[node name="Outline_Mask" type="Particles2D" parent="."]
position = Vector2( 42, 52 )
amount = 180
lifetime = 0.2
visibility_rect = Rect2( 26.0055, 90.0015, 199.176, 95.0445 )
process_material = SubResource( 27 )
texture = ExtResource( 3 )
[node name="Direction_Mask" type="Particles2D" parent="."]
position = Vector2( 40, 180 )
amount = 180
lifetime = 0.2
visibility_rect = Rect2( 26.0055, 90.0015, 199.176, 95.0445 )
process_material = SubResource( 28 )
texture = ExtResource( 3 )