New boss

circle-info

bosses are just enemies without Veclocity::Compotent

Reworking boss stats

To create a boss with custom health and damage stats you can add new instances of the BossStats struct to std::vector<BossStats> _bosses defined in src/server/Game.hpp. afterwards you can refer to them in the level fevel files wither their index in the vector (0,1,...)

std::vector<BossStats> _bosses = {
    {300, 20, Animation::AnimationID::Cluster, Armament::Type::Buckshot},
    {400, 50, Animation::AnimationID::Cluster, Armament::Type::Laser},
};
  • if you want to create your own boss with new animation or attacks look into New enemies

circle-info

Look into the New levels Tutorial to see more on how to define bosses in a level

Last updated