CollisionShape2D as children
Because there are 3 different types of enemy and 5 rows each with 11 columns manually we would need to do a lot of work. Instead we will automate this process with loops
Select the AnimatedSprite2D node
Select the CollisionShape2D node
Set the Shape property to RectangleShape2D
Add a new Group called "enemies"
Make the Enemy part of this group
Add a script to the Enemy node
Add variables for the enemy point value
Add a reference to the AnimatedSprite2D
Set the animation to the first frame
Pause the animation so that it only
Changes frames when the enemy moves
To destroy the enemy when called
Create a method to switch frames
We will only call this method
Note that the aliens do not act independently, they move as one - they have a hive mind. We will create this next.