Files
gymkhana-actions/gymkhana/particles/SmokeParticles.tscn

32 lines
890 B
Plaintext

[gd_scene load_steps=4 format=2]
[ext_resource path="res://gymkhana/particles/assets/smoke.png" type="Texture2D" id=1]
[sub_resource type="Curve" id=1]
min_value = -360.0
max_value = 360.0
_data = [ Vector2( 0, 1 ), 0.0, 0.0, 0, 0, Vector2( 1, 13.0909 ), 0.0, 0.0, 0, 0 ]
[sub_resource type="Gradient" id=2]
colors = PackedColorArray( 0.8125, 0.8125, 0.8125, 1, 0.917647, 0.917647, 0.917647, 0 )
[node name="SmokeParticles" type="CPUParticles2D"]
position = Vector2( -2, -63 )
scale = Vector2( 1.48, 1 )
amount = 20
lifetime = 2.0
speed_scale = 0.63
explosiveness = 0.06
randomness = 0.84
lifetime_randomness = 0.55
texture = ExtResource( 1 )
emission_shape = 1
emission_sphere_radius = 1.0
direction = Vector2( 0, 1 )
spread = 103.24
gravity = Vector2( 0, -98 )
angular_velocity = 42.36
angular_velocity_curve = SubResource( 1 )
scale_amount_random = 0.1
color_ramp = SubResource( 2 )