GIGA-uwindsor/Spider-Fish.js — Issue #19: Boss Stage
Author: Salbris
Created: 2011-12-02 02:13:02+00:00
State: open

Note: can only be started when the initial stage task is complete.

Define a new stage type for a boss battle. This stage has two possible completion triggers, either the boss is defeat by reducing its health below zero, or the stage has a time limit and once reached the stage is over and the boss is defeated.

Once completed the stage transitions like other normal stages.

During the stage and up until the boss is defeat the health of the boss should be displayed on the screen for the player. A simple bar that slowly drains should be sufficient.

Like-wise if the stage is has a countdown/time-limit instead show a countdown until the stage is completed.

Assume this stage has no other enemy spawning for now.

Recommendation: Inherit from the new Stage class but only provide one spawner for the boss.