Bosses
Last updated
Last updated
Bosses are special more complex enemies that usually mark the end of a part of a stage.
There are 6 bosses in the game:
Launches swords at the player and spawns smaller slimes
Slams the ground to produce earth spikes all around it and burrows into the ground to become invincible
Charges at the player and launches honey mines
Launches projectiles at the player and spawns hands
Launches waves of different projectiles at the player
Spawns black holes and shade enemies, can teleport
Unlike the simple enemies, each boss has its unique behavior class, but it still has to be inherited from EnemyBehavior class. This class implements the unique aspects of the boss (shooting projectiles, moving in other ways than just following players, attacking in some unique way, etc. )
Each bossfight starts with the warning of an incoming fight.
After a few seconds stage timeline pauses, all alive enemies die and the bossfight fence appears. It contains the fight inside, preventing the player from running away. The big red circle appears that indicates the place where the boss will be spawned. After a few more seconds the boss spawns and starts attacking the player.
Bosses have an fullscreen ui healthbar instead of the usual world space one.
When the boss is defeated, it drops a magnet, a healing item and a chest. The bossfight fence is spawned and the timeline unpauses.
Each element of the database consists of:
Boss Type
Display Name
Boss Prefab
Fence Prefabs
There are two types of bossfight fences:
Circle Fence
Rect Fence
Each fence is constructed with the singular fence links.
On other then Endless stage types the fence will center itself with the playing field
Mega Slime
Crab
Queen Wasp
Mask
Bell
Void
Bossfight data is stored in the Bossfight Database that located in
The existing fences are located here: