30 lines
1.1 KiB
Plaintext
30 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://nwosguak0uag"]
|
|
|
|
[ext_resource type="Script" path="res://Scripts/Animations/duckSwarmAnim.gd" id="1_rrxxq"]
|
|
[ext_resource type="Texture2D" uid="uid://bxrd726qic3ml" path="res://Sprites/Misc/Duck/ducky-idle.png" id="2_vqvn8"]
|
|
|
|
[sub_resource type="CanvasItemMaterial" id="CanvasItemMaterial_u2jbx"]
|
|
particles_animation = true
|
|
particles_anim_h_frames = 2
|
|
particles_anim_v_frames = 1
|
|
particles_anim_loop = true
|
|
|
|
[sub_resource type="ParticleProcessMaterial" id="ParticleProcessMaterial_w5nuv"]
|
|
particle_flag_disable_z = true
|
|
gravity = Vector3(0, 0, 0)
|
|
anim_speed_min = 2.0
|
|
anim_speed_max = 2.0
|
|
|
|
[node name="duckSwarmAnim" type="Node2D"]
|
|
script = ExtResource("1_rrxxq")
|
|
|
|
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
|
|
|
|
[node name="GPUParticles2D" type="GPUParticles2D" parent="."]
|
|
material = SubResource("CanvasItemMaterial_u2jbx")
|
|
amount = 2
|
|
process_material = SubResource("ParticleProcessMaterial_w5nuv")
|
|
texture = ExtResource("2_vqvn8")
|
|
|
|
[connection signal="animation_finished" from="AnimationPlayer" to="." method="animFinished"]
|