Files
ludum_dare_46/src/Effects/Fire/FireEffect.tscn
Jan Schuffenhauer 9799fdde04 Fireparticle added
2020-04-19 17:49:00 +02:00

32 lines
790 B
Plaintext

[gd_scene load_steps=5 format=2]
[ext_resource path="res://Effects/Fire/fire-particle.png" type="Texture" id=1]
[sub_resource type="Gradient" id=1]
offsets = PoolRealArray( 0.488889, 1 )
colors = PoolColorArray( 1, 1, 1, 1, 0, 0, 0, 0 )
[sub_resource type="GradientTexture" id=2]
gradient = SubResource( 1 )
[sub_resource type="ParticlesMaterial" id=3]
lifetime_randomness = 0.12
emission_shape = 1
emission_sphere_radius = 3.0
flag_disable_z = true
gravity = Vector3( 0, -20, 0 )
orbit_velocity = 0.0
orbit_velocity_random = 0.0
radial_accel = 9.2
scale = 0.25
scale_random = 0.15
color_ramp = SubResource( 2 )
hue_variation = 0.18
[node name="FireEffect" type="Particles2D"]
amount = 10
lifetime = 1.2
speed_scale = 1.3
process_material = SubResource( 3 )
texture = ExtResource( 1 )