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

25 lines
814 B
Plaintext
Raw Permalink Normal View History

2024-10-17 14:37:17 +02:00
[gd_scene load_steps=5 format=3 uid="uid://cj5s61jxwvux4"]
[ext_resource type="Texture2D" uid="uid://cklr5rdvk4ptu" path="res://scenes/particle/Line1.png" id="1"]
[sub_resource type="Gradient" id="1"]
offsets = PackedFloat32Array(0, 0.158654, 0.860577, 0.908654, 1)
colors = PackedColorArray(1, 1, 1, 0, 1, 1, 1, 1, 0.388235, 0.388235, 0.388235, 0.737255, 0.133333, 0.133333, 0.133333, 0.211765, 0, 0, 0, 0)
[sub_resource type="GradientTexture1D" id="2"]
gradient = SubResource("1")
width = 100
[sub_resource type="ParticleProcessMaterial" id="3"]
emission_shape = 2
emission_sphere_radius = 128.0
gravity = Vector3(0, 0, 0)
scale_min = 0.0
scale_max = 8.62
color_ramp = SubResource("2")
[node name="Implosion" type="GPUParticles2D"]
amount = 50
process_material = SubResource("3")
texture = ExtResource("1")