[gd_scene format=3 uid="uid://ds0kl1ix502ii"] [ext_resource type="Script" uid="uid://ccs2hy30dvdww" path="res://scene/code/static_body_2d.gd" id="1_ebdij"] [ext_resource type="Texture2D" uid="uid://o20tg3dkba7b" path="res://Free/Traps/Blocks/HitSide (22x22).png" id="1_m8gvs"] [ext_resource type="Texture2D" uid="uid://blxtvc6n265bh" path="res://Free/Traps/Blocks/Idle.png" id="2_gi3hl"] [ext_resource type="Script" uid="uid://bcrwr7xxuh6rb" path="res://scene/code/block_hit.gd" id="3_gi3hl"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_b1ow3"] size = Vector2(17.499998, 22.499998) [sub_resource type="RectangleShape2D" id="RectangleShape2D_rby76"] size = Vector2(14, 18) [sub_resource type="AtlasTexture" id="AtlasTexture_ebdij"] atlas = ExtResource("1_m8gvs") region = Rect2(0, 0, 22, 22) [sub_resource type="AtlasTexture" id="AtlasTexture_101is"] atlas = ExtResource("1_m8gvs") region = Rect2(22, 0, 22, 22) [sub_resource type="AtlasTexture" id="AtlasTexture_qys84"] atlas = ExtResource("1_m8gvs") region = Rect2(44, 0, 22, 22) [sub_resource type="AtlasTexture" id="AtlasTexture_5lrwl"] atlas = ExtResource("2_gi3hl") region = Rect2(0, 0, 22, 22) [sub_resource type="SpriteFrames" id="SpriteFrames_b1ow3"] animations = [{ "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_ebdij") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_101is") }, { "duration": 1.0, "texture": SubResource("AtlasTexture_qys84") }], "loop": 1, "name": &"Hitside.block", "speed": 10.0 }, { "frames": [{ "duration": 1.0, "texture": SubResource("AtlasTexture_5lrwl") }], "loop": 1, "name": &"Idle.block", "speed": 5.0 }] [node name="StaticBody2D" type="StaticBody2D" unique_id=929564110] script = ExtResource("1_ebdij") [node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1467068826] position = Vector2(3.5762787e-07, -3.5762787e-07) scale = Vector2(0.8, 0.8) shape = SubResource("RectangleShape2D_b1ow3") [node name="Area2D" type="Area2D" parent="." unique_id=632572989] script = ExtResource("3_gi3hl") [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=222877067] shape = SubResource("RectangleShape2D_rby76") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="Area2D" unique_id=1688973896] sprite_frames = SubResource("SpriteFrames_b1ow3") animation = &"Hitside.block" frame = 2 frame_progress = 0.43349382 [connection signal="area_entered" from="Area2D" to="Area2D" method="_on_area_entered"]