Create a new Scene
Create a new Scene
Add an Area2D Node
Add an Area2D Node
Rename it to Spikes
Rename it to Spikes
We will detect collisions and
We will detect collisions and
Trigger events when collisions occur
Trigger events when collisions occur
Add a Sprite and use the tile_0068.png
Add a Sprite and use the tile_0068.png
as the texture.
as the texture.
Add a CollisionShape2D node and set the shape to RectangleShape2D
Add a CollisionShape2D node and set the shape to RectangleShape2D