gai-godot-games/tutorial-game/scenes/particle/wind_trail.tscn

61 lines
2.4 KiB
Plaintext
Raw Permalink Normal View History

2024-10-17 14:37:17 +02:00
[gd_scene load_steps=10 format=3 uid="uid://dllre5tl0hejs"]
[sub_resource type="Gradient" id="Gradient_t4ven"]
colors = PackedColorArray(1, 1, 1, 0.262745, 1, 1, 1, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_h623q"]
gradient = SubResource("Gradient_t4ven")
[sub_resource type="Gradient" id="Gradient_1cigd"]
offsets = PackedFloat32Array(0, 0.0990566, 0.353774, 0.740566, 1)
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_lalpw"]
gradient = SubResource("Gradient_1cigd")
[sub_resource type="Curve" id="Curve_2tn03"]
min_value = -200.0
max_value = 200.0
_data = [Vector2(0, 0), 0.0, 320.251, 0, 1, Vector2(0.116667, 37.3626), 0.0, 0.0, 0, 0, Vector2(0.2625, -32.967), -572.684, 0.0, 0, 0, Vector2(0.391667, 41.7582), 0.0, 0.0, 0, 0, Vector2(0.516667, -24.1758), 0.0, 0.0, 0, 0, Vector2(0.666667, 32.967), 0.0, 0.0, 0, 0, Vector2(0.8, -32.967), 0.0, 0.0, 0, 0, Vector2(0.9, 41.7582), 0.0, 0.0, 0, 0, Vector2(1, -32.967), 0.0, 0.0, 0, 0]
point_count = 9
[sub_resource type="CurveTexture" id="CurveTexture_2y6o4"]
curve = SubResource("Curve_2tn03")
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_jyv0q"]
particle_flag_disable_z = true
emission_shape = 3
emission_box_extents = Vector3(200, 400, 1)
spread = 10.0
initial_velocity_min = 257.25
initial_velocity_max = 257.25
gravity = Vector3(50, 15, 0)
tangential_accel_min = -2.23517e-06
tangential_accel_max = 6.0
tangential_accel_curve = SubResource("CurveTexture_2y6o4")
damping_max = 100.0
scale_min = 2.0
scale_max = 3.0
color_ramp = SubResource("GradientTexture1D_lalpw")
color_initial_ramp = SubResource("GradientTexture1D_h623q")
[sub_resource type="Gradient" id="Gradient_x41e1"]
offsets = PackedFloat32Array(0, 0.290984, 0.762295, 1)
colors = PackedColorArray(0.74902, 0.921569, 0.878431, 0, 0.542767, 0.908156, 0.871601, 1, 0.690008, 0.918154, 0.744606, 1, 0.780392, 0.937255, 0.831373, 0)
[sub_resource type="GradientTexture2D" id="GradientTexture2D_ooxhm"]
gradient = SubResource("Gradient_x41e1")
width = 1
height = 32
fill_to = Vector2(0, 1)
[node name="WindTrail" type="GPUParticles2D"]
amount = 15
process_material = SubResource("ParticleProcessMaterial_jyv0q")
texture = SubResource("GradientTexture2D_ooxhm")
lifetime = 5.0
preprocess = 2.0
randomness = 1.0
trail_enabled = true
trail_lifetime = 0.6