Files
CoinQuest/scenes/platform.tscn
2024-10-25 16:38:22 +02:00

19 lines
626 B
Plaintext

[gd_scene load_steps=3 format=3 uid="uid://c54bhvh3awmhl"]
[ext_resource type="Texture2D" uid="uid://decv4b6odh7sf" path="res://assets/sprites/platforms.png" id="1_6beh7"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_l3y6f"]
size = Vector2(32, 9)
[node name="AnimatableBody2D" type="AnimatableBody2D"]
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_6beh7")
region_enabled = true
region_rect = Rect2(16, 0, 32, 10)
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0, -0.5)
shape = SubResource("RectangleShape2D_l3y6f")
one_way_collision = true