retrace/Particles/Sparkle.tscn
2020-01-26 19:25:50 +01:00

62 lines
1.6 KiB
Plaintext

[gd_scene load_steps=8 format=2]
[ext_resource path="res://Resources/Textures/sparkle.png" type="Texture" id=1]
[sub_resource type="SpatialMaterial" id=1]
flags_transparent = true
flags_unshaded = true
vertex_color_use_as_albedo = true
params_blend_mode = 1
params_billboard_mode = 3
particles_anim_h_frames = 1
particles_anim_v_frames = 1
particles_anim_loop = false
albedo_texture = ExtResource( 1 )
[sub_resource type="Curve" id=2]
_data = [ Vector2( 0, 0.2745 ), 0.0, 0.0, 0, 0, Vector2( 0.487893, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 0.0897 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="CurveTexture" id=3]
curve = SubResource( 2 )
[sub_resource type="ParticlesMaterial" id=4]
emission_shape = 1
emission_sphere_radius = 0.16
spread = 0.0
gravity = Vector3( 0, 5, 0 )
angular_velocity = 40.0
angular_velocity_random = 1.0
linear_accel = -3.0
scale = 0.05
scale_random = 0.01
scale_curve = SubResource( 3 )
[sub_resource type="QuadMesh" id=5]
[sub_resource type="ParticlesMaterial" id=6]
emission_shape = 1
emission_sphere_radius = 0.16
spread = 0.0
gravity = Vector3( 0, 5, 0 )
angular_velocity = 40.0
angular_velocity_random = 1.0
linear_accel = -3.0
scale = 0.05
scale_random = 0.01
scale_curve = SubResource( 3 )
color = Color( 0.992157, 1, 0, 1 )
[node name="Sparkle" type="Spatial"]
[node name="White" type="Particles" parent="."]
layers = 3
material_override = SubResource( 1 )
process_material = SubResource( 4 )
draw_pass_1 = SubResource( 5 )
[node name="Yellow" type="Particles" parent="."]
layers = 3
material_override = SubResource( 1 )
process_material = SubResource( 6 )
draw_pass_1 = SubResource( 5 )