[gd_scene load_steps=8 format=3 uid="uid://chsmfcu2ww1rf"] [ext_resource type="Script" path="res://Actor/actor.gd" id="1_idlnt"] [ext_resource type="Texture2D" path="res://Assets/particle.png" id="3_303hw"] [ext_resource type="SpriteFrames" uid="uid://qasmquyomf8y" path="res://Actor/sprite_frames.tres" id="3_svw0v"] [ext_resource type="AudioStream" uid="uid://b2gyst7ghnt34" path="res://Assets/clone.ogg" id="4_3hpxv"] [ext_resource type="AudioStream" uid="uid://bj51jgg1gmsu3" path="res://Assets/explode.ogg" id="5_ousue"] [sub_resource type="CircleShape2D" id="CircleShape2D_4na4j"] radius = 34.1321 [sub_resource type="Gradient" id="Gradient_qb1gn"] offsets = PackedFloat32Array(0.048433, 0.940171) colors = PackedColorArray(0.929412, 0, 0, 1, 1, 1, 0, 1) [node name="Actor" type="CharacterBody2D" groups=["actors"]] script = ExtResource("1_idlnt") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] shape = SubResource("CircleShape2D_4na4j") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] sprite_frames = ExtResource("3_svw0v") animation = &"walk" frame_progress = 0.999143 [node name="CPUParticles2D" type="CPUParticles2D" parent="."] emitting = false amount = 64 lifetime = 0.2 one_shot = true speed_scale = 8.0 explosiveness = 0.39 randomness = 0.32 texture = ExtResource("3_303hw") emission_shape = 4 emission_points = PackedVector2Array() emission_colors = PackedColorArray() spread = 180.0 gravity = Vector2(0, 0) initial_velocity_min = 366.83 initial_velocity_max = 814.07 color_ramp = SubResource("Gradient_qb1gn") [node name="SFXClone" type="AudioStreamPlayer" parent="."] stream = ExtResource("4_3hpxv") [node name="SFXExplode" type="AudioStreamPlayer" parent="."] stream = ExtResource("5_ousue") [connection signal="finished" from="CPUParticles2D" to="." method="_on_cpu_particles_2d_finished"]