Create a new scene with Area2D as root
Instance the ExplosionParticles
Select the CollisionShape2D
Change the Radius and Height
Set Rotation to 90 degrees
Add a new script to the Ufo
Select the VisibilityNotifier node
Connect the screen exited signal
Destroy the UFO if offscreen
Access the PathFollow Node
multiplying speed by delta
Create a ufo shoot function
Instantiate a bullet scene
Set it up as an enemy bullet
Add it to the current scene
Set its position to the UFO
(Create this function next)
Create a function to pick a random direction
Calculate if this is the top half
Choose to shoot either up or down
Get a random spread angle
Create a function to aim near the player
If found, shoot NEAR them
Connect the area entered signal