Bosses

Bosses are special more complex enemies that usually mark the end of a part of a stage.

There are 6 bosses in the game:

Id
Upgrade
Description
1

Mega Slime

Launches swords at the player and spawns smaller slimes

2

Crab

Slams the ground to produce earth spikes all around it and burrows into the ground to become invincible

3

Queen Wasp

Charges at the player and launches honey mines

4

Mask

Launches projectiles at the player and spawns hands

5

Bell

Launches waves of different projectiles at the player

6

Void

Spawns black holes and shade enemies, can teleport

Boss staructure

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. )

Bossfight

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.

Bossfight data is stored in the Bossfight Database that located in

Each element of the database consists of:

  1. Boss Type

  2. Display Name

  3. Boss Prefab

  4. Fence Prefabs

Bossfight Fence

The existing fences are located here:

There are two types of bossfight fences:

  1. Circle Fence

  2. 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

Last updated