87 lines
2.5 KiB
Plaintext
87 lines
2.5 KiB
Plaintext
[gd_scene format=3 uid="uid://ccat0krfw2wbp"]
|
|
|
|
[ext_resource type="Script" uid="uid://cqpelvqkgcj0f" path="res://scene/entities/whirling_blade.gd" id="1_2apdy"]
|
|
[ext_resource type="Texture2D" uid="uid://bp04cf1lxaf8a" path="res://Free/Traps/Saw/On (38x38).png" id="1_37k7r"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b1ow3"]
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_2apdy"]
|
|
atlas = ExtResource("1_37k7r")
|
|
region = Rect2(0, 0, 38, 38)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_4r1l6"]
|
|
atlas = ExtResource("1_37k7r")
|
|
region = Rect2(38, 0, 38, 38)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_5bx00"]
|
|
atlas = ExtResource("1_37k7r")
|
|
region = Rect2(76, 0, 38, 38)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_ht4jq"]
|
|
atlas = ExtResource("1_37k7r")
|
|
region = Rect2(114, 0, 38, 38)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_w8fro"]
|
|
atlas = ExtResource("1_37k7r")
|
|
region = Rect2(152, 0, 38, 38)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_xlno7"]
|
|
atlas = ExtResource("1_37k7r")
|
|
region = Rect2(190, 0, 38, 38)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_qyx34"]
|
|
atlas = ExtResource("1_37k7r")
|
|
region = Rect2(228, 0, 38, 38)
|
|
|
|
[sub_resource type="AtlasTexture" id="AtlasTexture_udqe3"]
|
|
atlas = ExtResource("1_37k7r")
|
|
region = Rect2(266, 0, 38, 38)
|
|
|
|
[sub_resource type="SpriteFrames" id="SpriteFrames_ymnsx"]
|
|
animations = [{
|
|
"frames": [{
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_2apdy")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_4r1l6")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_5bx00")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_ht4jq")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_w8fro")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_xlno7")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_qyx34")
|
|
}, {
|
|
"duration": 1.0,
|
|
"texture": SubResource("AtlasTexture_udqe3")
|
|
}],
|
|
"loop": 1,
|
|
"name": &"ROLL",
|
|
"speed": 45.0
|
|
}]
|
|
|
|
[node name="Whirling_blade" type="Area2D" unique_id=986788894]
|
|
collision_mask = 3
|
|
script = ExtResource("1_2apdy")
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1859159804]
|
|
scale = Vector2(1.5, 1.5)
|
|
shape = SubResource("RectangleShape2D_b1ow3")
|
|
|
|
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="." unique_id=1547792498]
|
|
sprite_frames = SubResource("SpriteFrames_ymnsx")
|
|
animation = &"ROLL"
|
|
frame_progress = 0.68251806
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|
|
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
|