gae_platformer/scenes/platform.tscn

18 lines
637 B
Plaintext

[gd_scene format=3 uid="uid://b41gwy6bpg7qv"]
[ext_resource type="Texture2D" uid="uid://nuwsrb1cifv4" path="res://assets/sprites/platforms.png" id="1_ba0x2"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_nlgqw"]
size = Vector2(31, 8)
[node name="Platform" type="AnimatableBody2D" unique_id=962203689]
[node name="Sprite2D" type="Sprite2D" parent="." unique_id=1406721546]
texture = ExtResource("1_ba0x2")
region_enabled = true
region_rect = Rect2(17, 1, 31, 8)
[node name="CollisionShape2D" type="CollisionShape2D" parent="." unique_id=1805733968]
shape = SubResource("RectangleShape2D_nlgqw")
one_way_collision = true