21 lines
715 B
Plaintext
21 lines
715 B
Plaintext
[gd_scene format=3 uid="uid://dqa01xdajdmpt"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://un1kmh0dbmi4" path="res://assets/sprites/platforms.png" id="1_ba0x2"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nlgqw"]
|
|
size = Vector2(32, 9)
|
|
|
|
[node name="Platform" type="AnimatableBody2D" unique_id=998629472]
|
|
position = Vector2(16, 8)
|
|
|
|
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1199438645]
|
|
position = Vector2(0, -4)
|
|
texture = ExtResource("1_ba0x2")
|
|
region_enabled = true
|
|
region_rect = Rect2(16, 0, 32, 9)
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=2070236199]
|
|
position = Vector2(0, -4)
|
|
shape = SubResource("RectangleShape2D_nlgqw")
|
|
one_way_collision = true
|