Files
National-Day/scene/entities/Right_whirling_blade_move.tscn
2026-10-07 17:58:02 +08:00

93 lines
2.7 KiB
Plaintext

[gd_scene format=3 uid="uid://oew6cs3c56dx"]
[ext_resource type="Script" uid="uid://b5ux5luvsai6h" path="res://scene/code/whirling_blade_move.gd" id="1_nemwd"]
[ext_resource type="Texture2D" uid="uid://bp04cf1lxaf8a" path="res://Free/Traps/Saw/On (38x38).png" id="2_f4ltq"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_b1ow3"]
[sub_resource type="AtlasTexture" id="AtlasTexture_2apdy"]
atlas = ExtResource("2_f4ltq")
region = Rect2(0, 0, 38, 38)
[sub_resource type="AtlasTexture" id="AtlasTexture_4r1l6"]
atlas = ExtResource("2_f4ltq")
region = Rect2(38, 0, 38, 38)
[sub_resource type="AtlasTexture" id="AtlasTexture_5bx00"]
atlas = ExtResource("2_f4ltq")
region = Rect2(76, 0, 38, 38)
[sub_resource type="AtlasTexture" id="AtlasTexture_ht4jq"]
atlas = ExtResource("2_f4ltq")
region = Rect2(114, 0, 38, 38)
[sub_resource type="AtlasTexture" id="AtlasTexture_w8fro"]
atlas = ExtResource("2_f4ltq")
region = Rect2(152, 0, 38, 38)
[sub_resource type="AtlasTexture" id="AtlasTexture_xlno7"]
atlas = ExtResource("2_f4ltq")
region = Rect2(190, 0, 38, 38)
[sub_resource type="AtlasTexture" id="AtlasTexture_qyx34"]
atlas = ExtResource("2_f4ltq")
region = Rect2(228, 0, 38, 38)
[sub_resource type="AtlasTexture" id="AtlasTexture_udqe3"]
atlas = ExtResource("2_f4ltq")
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="Right_Whirling_blade_move" type="Area2D" unique_id=986788894]
collision_mask = 3
script = ExtResource("1_nemwd")
[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]
light_mask = 3
visibility_layer = 3
sprite_frames = SubResource("SpriteFrames_ymnsx")
animation = &"ROLL"
frame_progress = 0.68251806
[node name="Timer" type="Timer" parent="." unique_id=550037519]
one_shot = true
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
[connection signal="body_exited" from="." to="." method="_on_body_exited"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]