diff options
Diffstat (limited to 'Assets/Map/DroppablePlatform02.tscn')
-rw-r--r-- | Assets/Map/DroppablePlatform02.tscn | 29 |
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 |