18 lines
589 B
Text
18 lines
589 B
Text
|
[gd_scene load_steps=3 format=3 uid="uid://dy2cgj5ibb8tx"]
|
||
|
|
||
|
[ext_resource type="Texture2D" uid="uid://cxuqjimd7csiq" path="res://assets/sprites/platforms.png" id="1_woepu"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_qrusg"]
|
||
|
size = Vector2(32, 8)
|
||
|
|
||
|
[node name="Platform" type="AnimatableBody2D"]
|
||
|
|
||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
texture = ExtResource("1_woepu")
|
||
|
region_enabled = true
|
||
|
region_rect = Rect2(16, 0, 32, 9)
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
shape = SubResource("RectangleShape2D_qrusg")
|
||
|
one_way_collision = true
|