init: initial commit
This commit is contained in:
20
scenes/platform.tscn
Normal file
20
scenes/platform.tscn
Normal file
@@ -0,0 +1,20 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user