xiandie/scene/shading/smoke.tscn

41 lines
1.4 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=5 format=3 uid="uid://bwce0niymxrou"]
[ext_resource type="Texture2D" uid="uid://bhl1b5ren8emk" path="res://scene/shading/smoke.png" id="1_705e3"]
[sub_resource type="Curve" id="Curve_r8ddf"]
_limits = [-2.0, 2.0, -1.0, 1.0]
_data = [Vector2(-0.785377, 0.0414312), 0.0, 0.0, 0, 0, Vector2(0.167453, 0.118184), 0.0, 0.0, 0, 0, Vector2(1, 0.314099), 0.0, 0.0, 0, 0]
point_count = 3
[sub_resource type="Curve" id="Curve_705e3"]
_data = [Vector2(0, 0.310421), 0.0, 0.0, 0, 0, Vector2(0.988208, 1), 0.0, 0.0, 0, 0]
point_count = 2
[sub_resource type="Gradient" id="Gradient_oxsai"]
interpolation_mode = 2
offsets = PackedFloat32Array(0, 0.104534, 0.70529, 1)
colors = PackedColorArray(0, 0, 0, 0.501961, 0.199732, 0.199732, 0.199732, 1, 0.374139, 0.374139, 0.374139, 1, 0.67451, 0.67451, 0.67451, 0)
[node name="Smoke" type="Node2D"]
[node name="CPUParticles2D" type="CPUParticles2D" parent="."]
amount = 200
texture = ExtResource("1_705e3")
speed_scale = 0.15
emission_shape = 1
emission_sphere_radius = 12.0
direction = Vector2(0, -1)
spread = 0.0
gravity = Vector2(0, -300)
initial_velocity_max = 100.0
angular_velocity_min = -2.0
angular_velocity_max = 2.0
orbit_velocity_min = -0.2
orbit_velocity_curve = SubResource("Curve_r8ddf")
angle_min = -45.0
angle_max = 45.0
scale_amount_min = 0.5
scale_amount_max = 0.8
scale_amount_curve = SubResource("Curve_705e3")
color_ramp = SubResource("Gradient_oxsai")