27 lines
926 B
Plaintext
27 lines
926 B
Plaintext
|
[gd_scene load_steps=5 format=3 uid="uid://d25tq5jun4vv3"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://c7gp2gicvrsyx" path="res://scene/demo11_particle_light/image/white_square.png" id="1_ux0kf"]
|
||
|
|
||
|
[sub_resource type="Gradient" id="Gradient_i2rdc"]
|
||
|
|
||
|
[sub_resource type="GradientTexture1D" id="GradientTexture1D_mu0kg"]
|
||
|
gradient = SubResource("Gradient_i2rdc")
|
||
|
|
||
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_j8287"]
|
||
|
particle_flag_disable_z = true
|
||
|
direction = Vector3(0, -1, 0)
|
||
|
initial_velocity_max = 882.05
|
||
|
gravity = Vector3(0, 98, 0)
|
||
|
scale_min = 0.1
|
||
|
scale_max = 0.3
|
||
|
color = Color(0.772549, 0.101961, 0.27451, 1)
|
||
|
color_ramp = SubResource("GradientTexture1D_mu0kg")
|
||
|
|
||
|
[node name="Node2D" type="Node2D"]
|
||
|
|
||
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
|
||
|
position = Vector2(493, 458)
|
||
|
amount = 60
|
||
|
process_material = SubResource("ParticleProcessMaterial_j8287")
|
||
|
texture = ExtResource("1_ux0kf")
|