summaryrefslogtreecommitdiff
path: root/Assets/Map/DroppablePlatform02.tscn
diff options
context:
space:
mode:
authorDaniel Weipert <git@mail.dweipert.de>2024-09-28 15:27:57 +0200
committerDaniel Weipert <git@mail.dweipert.de>2024-09-28 15:27:57 +0200
commit6032b3dc82ccbb3710061059c90b7db40df19673 (patch)
treea99682fb23bcd8a1ddd01f4f137bee2d46fa4b1f /Assets/Map/DroppablePlatform02.tscn
parenta38f65c261e9d7b23d046cb76b5aeedc05c4b54d (diff)
next commitHEADmain
Diffstat (limited to 'Assets/Map/DroppablePlatform02.tscn')
-rw-r--r--Assets/Map/DroppablePlatform02.tscn29
1 files changed, 29 insertions, 0 deletions
diff --git a/Assets/Map/DroppablePlatform02.tscn b/Assets/Map/DroppablePlatform02.tscn
new file mode 100644
index 0000000..1050b8c
--- /dev/null
+++ b/Assets/Map/DroppablePlatform02.tscn
@@ -0,0 +1,29 @@
+[gd_scene load_steps=3 format=3 uid="uid://dhkkcjjqk7xmc"]
+
+[ext_resource type="Texture2D" uid="uid://mcgvpb1lh3ve" path="res://Assets/Map/tileset.png" id="1_ipgq4"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_fmc1n"]
+size = Vector2(32, 1)
+
+[node name="DroppablePlatform01" type="StaticBody2D" groups=["droppable_platforms"]]
+collision_layer = 16
+collision_mask = 0
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+texture_filter = 1
+position = Vector2(-8, 0)
+texture = ExtResource("1_ipgq4")
+region_enabled = true
+region_rect = Rect2(91, 19, 16, 16)
+
+[node name="Sprite2D2" type="Sprite2D" parent="."]
+texture_filter = 1
+position = Vector2(8, 0)
+texture = ExtResource("1_ipgq4")
+region_enabled = true
+region_rect = Rect2(91, 19, 16, 16)
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
+position = Vector2(0, -7.5)
+shape = SubResource("RectangleShape2D_fmc1n")
+one_way_collision = true