[gd_scene load_steps=7 format=3 uid="uid://7tn5hqexpcpy"] [ext_resource type="Texture2D" uid="uid://dno3lbn6pruvi" path="res://assets/coin/coin_particles.png" id="1_pjt1y"] [ext_resource type="Script" uid="uid://m1qh02lo1tp5" path="res://objects/particles/coinparticles.gd" id="2_7b2lc"] [ext_resource type="AudioStream" uid="uid://ddqywicil65up" path="res://assets/sounds/coin/collect_coin.wav" id="3_geflo"] [sub_resource type="Curve" id="Curve_7b2lc"] _limits = [-360.0, 360.0, 0.0, 1.0] _data = [Vector2(0, -360), 0.0, 0.0, 0, 0, Vector2(0.689266, 360), 0.0, 0.0, 0, 0, Vector2(0.819209, 360), 0.0, 0.0, 0, 0] point_count = 3 [sub_resource type="Curve" id="Curve_geflo"] _limits = [0.0, 0.629214, 0.0, 1.0] _data = [Vector2(0, 0), 0.0, 0.0, 0, 0, Vector2(0.231638, 0.615074), 0.0, 0.0, 0, 0, Vector2(0.632768, 0.00706983), 0.0, 0.0, 0, 0] point_count = 3 [sub_resource type="Gradient" id="Gradient_u1vah"] offsets = PackedFloat32Array(0, 0.119205, 0.337748, 0.543046, 0.682119, 0.807947) colors = PackedColorArray(1, 1, 1, 1, 1, 0.619608, 0.403922, 1, 1, 1, 0, 1, 1, 0.729412, 1, 1, 1, 0.932353, 0, 1, 1, 1, 1, 1) [node name="CoinParticles" type="CPUParticles2D"] emitting = false amount = 22 texture = ExtResource("1_pjt1y") one_shot = true explosiveness = 1.0 lifetime_randomness = 1.0 direction = Vector2(0, 0) spread = 180.0 gravity = Vector2(0, 100) initial_velocity_min = 90.91 initial_velocity_max = 262.63 angle_max = 720.0 angle_curve = SubResource("Curve_7b2lc") scale_amount_min = 0.6 scale_amount_max = 0.6 scale_amount_curve = SubResource("Curve_geflo") color_ramp = SubResource("Gradient_u1vah") script = ExtResource("2_7b2lc") [node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] stream = ExtResource("3_geflo") volume_db = 24.0 autoplay = true [connection signal="finished" from="." to="." method="_on_finished"]