Diffstat (limited to 'effects/Fire.tscn')
| -rw-r--r-- | effects/Fire.tscn | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/effects/Fire.tscn b/effects/Fire.tscn new file mode 100644 index 0000000..c658fc5 --- /dev/null +++ b/effects/Fire.tscn @@ -0,0 +1,41 @@ +[gd_scene load_steps=4 format=2] + +[ext_resource path="res://sprites/Flame.png" type="Texture" id=1] + +[sub_resource type="CanvasItemMaterial" id=1] +blend_mode = 1 + +[sub_resource type="Gradient" id=2] +offsets = PoolRealArray( 0, 0.345745, 0.670213, 0.87234, 0.93617 ) +colors = PoolColorArray( 1, 0.831373, 0, 0.317647, 1, 0.356863, 0, 0.388235, 0, 0.431373, 1, 0.207843, 0.341176, 0.623529, 0.996078, 0.392157, 1, 1, 1, 0 ) + +[node name="Fire" type="CPUParticles2D"] +material = SubResource( 1 ) +amount = 64 +lifetime = 0.7 +explosiveness = 0.05 +randomness = 0.2 +lifetime_randomness = 0.1 +local_coords = false +texture = ExtResource( 1 ) +emission_shape = 2 +emission_rect_extents = Vector2( 0, 2 ) +direction = Vector2( -1, 0 ) +spread = 25.0 +gravity = Vector2( 0, 0 ) +initial_velocity = 40.0 +initial_velocity_random = 0.1 +angular_velocity = 100.0 +angular_velocity_random = 1.0 +linear_accel = 5.0 +radial_accel = 60.0 +radial_accel_random = 1.0 +angle = 720.0 +angle_random = 1.0 +scale_amount = 1.5 +scale_amount_random = 0.41 +color = Color( 0.776471, 0.776471, 0.776471, 1 ) +color_ramp = SubResource( 2 ) +__meta__ = { +"_editor_description_": "" +} |