Create a new scene with Area2D as root
Add a Sprite2D as a child
Add a CollisionShape2D as a child
Add an AnimationPlayer as a child
Save the scene as enemy.tscn
Add the enemy_saucer.png as Texture
Select the CollisionShape2D
Select the AnimationPlayer node
Add an Animation called flash
Click the + to select a new track
Add the modulate property
Move the timeline to 0.04
Move the timeline to 0.08
Change the color to white
Repeat this to the end of the timeline
Now add an instance of the explosion scene
Add it to the group "enemies"
Add a script to the Enemy node
Create the timout function
Connect the timeout signal
The bullet scene
Enemy speed
Enemy rotation speed
Enemy health
Pick a random frame for the sprite
Update the physics process
To move the enemy along the path
Remove the enemy once it reaches the end
Add a Timer node called EnemyTimer
Add an instance of the EnemyPaths scene
At a reference for the Enemy
In the Inspector add the Enemy Scene
Update the new level function
To pick a random start time for the timer
Create the enemy timeout function
Starts the timer with a random time
Connect the timeout signal