summaryrefslogtreecommitdiff
path: root/Assets/Map/DroppablePlatform01.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Assets/Map/DroppablePlatform01.tscn')
-rw-r--r--Assets/Map/DroppablePlatform01.tscn23
1 files changed, 23 insertions, 0 deletions
diff --git a/Assets/Map/DroppablePlatform01.tscn b/Assets/Map/DroppablePlatform01.tscn
new file mode 100644
index 0000000..345fd4b
--- /dev/null
+++ b/Assets/Map/DroppablePlatform01.tscn
@@ -0,0 +1,23 @@
+[gd_scene load_steps=4 format=3 uid="uid://cltusavcxucip"]
+
+[ext_resource type="Script" path="res://Assets/Map/droppable_platform_01.gd" id="1_npqdr"]
+[ext_resource type="Texture2D" uid="uid://mcgvpb1lh3ve" path="res://Assets/Map/tileset.png" id="2_s554b"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_fmc1n"]
+size = Vector2(48, 1)
+
+[node name="DroppablePlatform01" type="StaticBody2D" groups=["droppable_platforms"]]
+collision_layer = 4112
+collision_mask = 0
+script = ExtResource("1_npqdr")
+
+[node name="Sprite2D" type="Sprite2D" parent="."]
+texture_filter = 1
+texture = ExtResource("2_s554b")
+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