Geometry Invasion

Disclaimer: This is NOT associated with Geometry Dash or The Impossible Game in any way, shape, or form.

Introduction
The Geometry Invasion is a mid-hardmode invasion that can only occur after a Pirate Invasion has been defeated in the world. Having a 10% chance to spawn every day or night, it can be painful.

Requirements

 * A pirate invasion has been defeated in the world

Enemies

 * Square | 60 | 16 contact | 1 def
 * Triangle | 80 | 32 contact | 0 def
 * Circle | 140 | 30 contact | 5 def
 * Rhombus | 200 | 12 contact | 20 def
 * Pentagon | 700 | 60 contact | 2 def


 * Decagon | 300 | 50 contact, 20 geometrical arrows | 6 def
 * Hexagon | 500 | 40 contact, 30 hexagon timebombs | 8 def
 * Septagon | 400 | 70 contact, 40 septagon chomper traps, 10 septagon chomper minions | 6 def


 * Octagon | 10 | 90 contact | 0 def
 * Octagon Spawners | 700 | 40 contact | 70 def

Boss Battle
After beating 700 enemies, the enemies will stop spawning and the player will have to go to a specified area to fight the boss. The boss itself is a plus shape which swings a ball-and-chain with triangles as chains and an orange circle as the ball, while dropping hexagon timebombs for its first phase. It has 40000, 30 ball damage, 80 hexagon damage, as well as 3 def.

Second Phase
After the boss reaches 20000, it will get destroyed and a very large machine with a circle for a head, squares for a body, triangles for hands, pentagons for a body and octagons for legs & feet will appear in the background. It will either use a drill, which must be deflected to deal 1000 damage. If it hits you, 100 damage or a circle inside the squares in its body will open up and fire a laser. Note that it will lock on, then stay once it finishes locking. Then after a delay of 0.7 seconds it will fire a massive blast that deals 400 damage, or it can drop multiple shapes in a pattern, some which can be thrown at the boss (which will cause a drill to pop up and stun it completely so it can be hurt, this is indicated by a yellow outline instead of red for the shape), and finally, once it reaches 5000, you'll be forced into a chased boss battle with it on screen. It only attacks with one thing, by throwing loads of shapes at you, which can be thrown at the boss to deal 750 damage. This boss cannot be hurt by regular means, it must be hurt by either shapes (third phase) or the drill (second phase).

Plausible Soundtrack
Geometrical dominator - Waterflame