summaryrefslogtreecommitdiff
path: root/Assets/Map/DroppablePlatform01.tscn
blob: 345fd4b3a6c8f9c7b2ce212b36ddae1e9188d038 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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