Create a new Scene
Create a new Scene
Add an Area2D Node
Add an Area2D Node
Rename it to Enemy
Rename it to Enemy
We will detect collisions and
We will detect collisions and
Trigger events when collisions occur
Trigger events when collisions occur
Add a Sprite node and use the character_0024.png as the texture.
Add a Sprite node and use the character_0024.png as the texture.
Add a CollisionShape2D node and set the shape to CircleShape
Add a CollisionShape2D node and set the shape to CircleShape
Make the circle slightly smaller than the sprite.
Make the circle slightly smaller than the sprite.
Save the scene as Enemy.
Save the scene as Enemy.