58 lines
1.8 KiB
Plaintext
58 lines
1.8 KiB
Plaintext
[gd_scene format=3 uid="uid://cn8srrkyt4h8e"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://dvuvwdk6nr4nb" path="res://ArrowGirl/ArrowGirl.png" id="1_5i1ac"]
|
|
[ext_resource type="Script" uid="uid://dqnhd2oej7xbw" path="res://ArrowGirl/ArrowGirl.gd" id="1_53v1e"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_y2354"]
|
|
atlas = ExtResource("1_5i1ac")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ni31j"]
|
|
atlas = ExtResource("1_5i1ac")
|
|
region = Rect2(0, 0, 32, 32)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xlvrw"]
|
|
atlas = ExtResource("1_5i1ac")
|
|
region = Rect2(32, 0, 32, 32)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_73fnb"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_y2354")
|
|
}],
|
|
"loop": false,
|
|
"name": &"idle",
|
|
"speed": 1.0
|
|
}, {
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ni31j")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xlvrw")
|
|
}],
|
|
"loop": false,
|
|
"name": &"idle_glance",
|
|
"speed": 1.0
|
|
}]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_53v1e"]
|
|
size = Vector2(32, 32)
|
|
|
|
[node name="ArrowGirl" type="Area2D" unique_id=869288979]
|
|
script = ExtResource("1_53v1e")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1672878033]
|
|
sprite_frames = SubResource("SpriteFrames_73fnb")
|
|
animation = &"idle_glance"
|
|
metadata/_edit_lock_ = true
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1190138841]
|
|
shape = SubResource("RectangleShape2D_53v1e")
|
|
metadata/_edit_lock_ = true
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
|
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|
|
[connection signal="animation_finished" from="AnimatedSprite2D" to="." method="_on_animation_finished"]
|