a game about throwing hammers made for the github game off
Diffstat (limited to 'world/door/block_door.tscn')
-rw-r--r--world/door/block_door.tscn18
1 files changed, 14 insertions, 4 deletions
diff --git a/world/door/block_door.tscn b/world/door/block_door.tscn
index a50c362..fa3f051 100644
--- a/world/door/block_door.tscn
+++ b/world/door/block_door.tscn
@@ -2,8 +2,8 @@
[ext_resource type="Script" path="res://world/door/block_door.gd" id="1_tux7r"]
[ext_resource type="Curve2D" path="res://world/door/block_door_path.tres" id="2_57k4a"]
+[ext_resource type="Texture2D" uid="uid://bs3dt308ypttr" path="res://assets/world/tiles.png" id="4_cevgr"]
[ext_resource type="Shape2D" path="res://world/door/door_shape.tres" id="4_fq60q"]
-[ext_resource type="Texture2D" uid="uid://dtec6qxbrg3ym" path="res://assets/world/door_wall.png" id="5_ut41x"]
[node name="BlockDoor" type="Node2D" node_paths=PackedStringArray("path_follower")]
texture_filter = 1
@@ -25,6 +25,16 @@ collision_mask = 0
visible = false
shape = ExtResource("4_fq60q")
-[node name="Sprite" type="Sprite2D" parent="DoorBody"]
-rotation = 1.5708
-texture = ExtResource("5_ut41x")
+[node name="sprites" type="Node2D" parent="DoorBody"]
+
+[node name="Sprite" type="Sprite2D" parent="DoorBody/sprites"]
+position = Vector2(0, 8)
+texture = ExtResource("4_cevgr")
+region_enabled = true
+region_rect = Rect2(48, 32, 16, 16)
+
+[node name="Sprite2" type="Sprite2D" parent="DoorBody/sprites"]
+position = Vector2(0, -8)
+texture = ExtResource("4_cevgr")
+region_enabled = true
+region_rect = Rect2(48, 0, 16, 16)