All right, then, as I've had this sitting around for a few days now:
Multiple Bosses
The game does have some support for multiple bosses, but it is not easy to set up.
When the play enters a trigger named Boss Start, that trigger is removed, and the game looks for the last-placed sprite with the name of "Boss". If it does not find any sprite named "Boss", it will look for the last-placed sprite with the name "Boss2".
If it finds a sprite with one of those two names, it will create a boss health meter linked to that sprite, and search for the last-placed sprites with the names of "Boss Door 1", "Boss Door 2", "Boss Door 3", and "Boss Door 4". These four Boss Door sprites (first one it finds with each name) will be moved to layer 3(?), and made solid (note that they need not be "doors"- the Ice Caves boss has a normal-looking wall as one of its doors).
If no Boss or Boss2 is found, nothing will happen.
After the Boss features have been activated, if the player kills a sprite ( any sprite) named "Boss", "Boss1", "Boss2", "Boss3", "Boss4", "Boss5", "Boss6", or "Boss7", that sprite will start the "Boss Death" animation, the Boss Health Meter will vanish, and the previously-activated Boss Doors will be deleted.
Once one boss fight is over, another can start, using the same rules. It is possible to have multiple bosses with the same name, which will be activated in the reverse of the order in which they were placed. The same order will be used for multiple Boss Doors with the same name. For practical purposes, I recommend placing all sprites with the same name at once in one location, and testing them in-game to see what order they are used in.
WARNING: Boss1, and Boss3 through Boss7 cannot be linked to Boss Health Meters.
WARNING: Do not confuse Boss1 with Boss. They do not have the same behaviour.
WARNING: If the player passes through a Boss Start trigger while a boss fight is in progress (meaning: before a Boss has finished exploding- note that the Boss Doors open several seconds before the Boss finishes the death animation), that trigger will be removed, but will have no effect on the game.
WARNING: If you choose to give multiple Bosses the same name, note that only one of them (the last-placed, I think) can have child sprites.
WARNING: The game-saving routines in 1.0.1 will likely mess up order-of-placement setups for multiple bosses, either by resetting Boss Doors, deleting on reload all Bosses and Boss Doors instead of just the ones that have been destroyed, or all of the above.
A similar setup should work for minibosses, except that only "Mini Boss" and "Mini Boss 2" work for the mini boss sprites (the doors still go up through 4).
Edwards
This post has been edited by Edwards : 13 February 2007 - 11:58 PM