[gd_scene format=3 uid="uid://dg8vanuerts1t"] [ext_resource type="Script" uid="uid://c176y1113cvdw" path="res://scripts/level_up_particles.gd" id="1_lvlup"] [sub_resource type="Gradient" id="Gradient_purple"] colors = PackedColorArray(0.75, 0.2, 1, 1, 0.4, 0.05, 0.8, 0.35) [sub_resource type="GradientTexture1D" id="GradTex_purple"] gradient = SubResource("Gradient_purple") [sub_resource type="ParticleProcessMaterial" id="Mat_purple"] emission_shape = 3 emission_box_extents = Vector3(3, 5, 0) direction = Vector3(0, -1, 0) spread = 8.0 initial_velocity_min = 25.0 initial_velocity_max = 40.0 gravity = Vector3(0, 12, 0) scale_min = 1.5 scale_max = 3.0 color_ramp = SubResource("GradTex_purple") [sub_resource type="Gradient" id="Gradient_yellow"] colors = PackedColorArray(1, 0.9, 0.1, 1, 0.9, 0.5, 0, 0.35) [sub_resource type="GradientTexture1D" id="GradTex_yellow"] gradient = SubResource("Gradient_yellow") [sub_resource type="ParticleProcessMaterial" id="Mat_yellow"] emission_shape = 3 emission_box_extents = Vector3(3, 5, 0) direction = Vector3(0, -1, 0) spread = 8.0 initial_velocity_min = 25.0 initial_velocity_max = 40.0 gravity = Vector3(0, 12, 0) scale_min = 1.5 scale_max = 3.0 color_ramp = SubResource("GradTex_yellow") [node name="LevelUpParticles" type="Node2D" unique_id=260593337] script = ExtResource("1_lvlup") [node name="Burst1" type="GPUParticles2D" parent="." unique_id=1316703941] emitting = false amount = 14 lifetime = 0.65 one_shot = true explosiveness = 0.9 process_material = SubResource("Mat_purple") [node name="Burst2" type="GPUParticles2D" parent="." unique_id=684638951] emitting = false amount = 14 lifetime = 0.65 one_shot = true explosiveness = 0.9 process_material = SubResource("Mat_yellow") [node name="Burst3" type="GPUParticles2D" parent="." unique_id=373983562] emitting = false amount = 14 lifetime = 0.65 one_shot = true explosiveness = 0.9 process_material = SubResource("Mat_purple")