66 lines
2.3 KiB
Plaintext
66 lines
2.3 KiB
Plaintext
[gd_scene load_steps=11 format=3 uid="uid://ccp4pglxnw3dy"]
|
|
|
|
[ext_resource type="Shader" uid="uid://0cygwxnsd5kc" path="res://flame.gdshader" id="1_ihxtw"]
|
|
[ext_resource type="Texture2D" uid="uid://coqmy50cy4vdu" path="res://images/noise.png" id="2_vov34"]
|
|
|
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_vov34"]
|
|
shader = ExtResource("1_ihxtw")
|
|
shader_parameter/noise_tex = ExtResource("2_vov34")
|
|
shader_parameter/time_speed = 1.5
|
|
shader_parameter/distortion_amount = 0.12
|
|
shader_parameter/flame_height = 1.4
|
|
shader_parameter/inner_color = Color(1, 0.9, 0.4, 1)
|
|
shader_parameter/outer_color = Color(1, 0.4, 0, 1)
|
|
|
|
[sub_resource type="Gradient" id="Gradient_e1r1b"]
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 1)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ihejk"]
|
|
gradient = SubResource("Gradient_e1r1b")
|
|
|
|
[sub_resource type="Gradient" id="Gradient_vov34"]
|
|
offsets = PackedFloat32Array(0, 0.5872093)
|
|
colors = PackedColorArray(1, 1, 1, 1, 1, 1, 1, 0)
|
|
|
|
[sub_resource type="GradientTexture2D" id="GradientTexture2D_e1r1b"]
|
|
gradient = SubResource("Gradient_vov34")
|
|
fill = 1
|
|
fill_from = Vector2(0.508547, 0.51282054)
|
|
|
|
[sub_resource type="Gradient" id="Gradient_ihejk"]
|
|
offsets = PackedFloat32Array(0, 0.24666667, 1)
|
|
colors = PackedColorArray(2.454227, 2.1767454, 0, 1, 1.759715, 0.5556387, 0, 1, 0.71, 0.2366667, 0, 0)
|
|
|
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_1ll5q"]
|
|
gradient = SubResource("Gradient_ihejk")
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_7krc3"]
|
|
particle_flag_disable_z = true
|
|
emission_shape = 3
|
|
emission_box_extents = Vector3(24, 5, 1)
|
|
direction = Vector3(0, -1, 0)
|
|
initial_velocity_min = 30.0
|
|
initial_velocity_max = 200.0
|
|
angular_velocity_min = -4.000016
|
|
angular_velocity_max = 3.9999838
|
|
gravity = Vector3(0, 98, 0)
|
|
scale_min = 0.02
|
|
scale_max = 0.06
|
|
color_ramp = SubResource("GradientTexture1D_1ll5q")
|
|
|
|
[node name="FlameBackground" type="Node2D"]
|
|
|
|
[node name="FlameSprite" type="Sprite2D" parent="."]
|
|
material = SubResource("ShaderMaterial_vov34")
|
|
position = Vector2(1, -49)
|
|
scale = Vector2(1.5833334, 2.12)
|
|
texture = SubResource("GradientTexture2D_ihejk")
|
|
|
|
[node name="Embers" type="GPUParticles2D" parent="."]
|
|
amount = 80
|
|
texture = SubResource("GradientTexture2D_e1r1b")
|
|
lifetime = 1.5
|
|
preprocess = 0.5
|
|
local_coords = true
|
|
process_material = SubResource("ParticleProcessMaterial_7krc3")
|