34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
[gd_scene load_steps=5 format=3 uid="uid://dts1fgq6kxthf"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dvcvrdaqypycr" path="res://UI/Cleaning/Ant.png" id="1_cmqw5"]
|
|
[ext_resource type="Texture2D" uid="uid://oqrvoy2btk0u" path="res://UI/Cleaning/Ant2.png" id="2_8rrx7"]
|
|
[ext_resource type="Script" path="res://UI/Cleaning/AntsLeaving.gd" id="3_mut4n"]
|
|
|
|
[sub_resource type="AnimatedTexture" id="AnimatedTexture_7imm2"]
|
|
frames = 2
|
|
frame_0/texture = ExtResource("1_cmqw5")
|
|
frame_0/duration = 0.2
|
|
frame_1/texture = ExtResource("2_8rrx7")
|
|
frame_1/duration = 0.2
|
|
|
|
[node name="AntsLeaving" type="CPUParticles2D"]
|
|
position = Vector2(440, 250)
|
|
emitting = false
|
|
amount = 40
|
|
one_shot = true
|
|
texture = SubResource("AnimatedTexture_7imm2")
|
|
emission_shape = 4
|
|
emission_points = PackedVector2Array(0, 0, -20, 0, -25, 0, 20, 0, 25, 0)
|
|
emission_colors = PackedColorArray(0, 0, 0, 1)
|
|
direction = Vector2(0, 1)
|
|
spread = 4.0
|
|
gravity = Vector2(0, 0)
|
|
initial_velocity_min = 130.0
|
|
initial_velocity_max = 130.0
|
|
color = Color(1, 0.2, 0.2, 1)
|
|
anim_speed_min = 3.0
|
|
anim_speed_max = 3.0
|
|
script = ExtResource("3_mut4n")
|
|
|
|
[connection signal="finished" from="." to="." method="_on_finished"]
|