added moving platforms and "collectable" coins and death barrier
This commit is contained in:
17
Assets/World/Platforms/platform.tscn
Normal file
17
Assets/World/Platforms/platform.tscn
Normal file
@@ -0,0 +1,17 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://bqb3ccnlh1t0s"]
|
||||
|
||||
[ext_resource type="Texture2D" uid="uid://c8wfwo1nixh7d" path="res://Assets/World/Grounds/Dirt.png" id="1_4guyj"]
|
||||
|
||||
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vncw8"]
|
||||
size = Vector2(452, 48)
|
||||
|
||||
[node name="Platform" type="AnimatableBody2D"]
|
||||
|
||||
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||||
scale = Vector2(0.2, 0.2)
|
||||
texture = ExtResource("1_4guyj")
|
||||
|
||||
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||||
position = Vector2(-11, 0)
|
||||
shape = SubResource("RectangleShape2D_vncw8")
|
||||
one_way_collision = true
|
Reference in New Issue
Block a user