Secretchronicles / TSC

An open source two-dimensional platform game.
https://secretchronicles.org/
GNU General Public License v3.0
205 stars 49 forks source link

C++ Engine Support for Life Bars... #132

Open datahead8888 opened 10 years ago

datahead8888 commented 10 years ago

As @sauer2 suggested in #127, it would be interesting to have life bars for bosses. He has been working on using Ruby scripting to implement this in levels, but we probably will want this to be supported at the C++ engine level as a feature. His levels will probably make good prototypes for us.

Features:

Also keep in mind that @Quintus said the amount of energy a boss has can be configured through scripting.

Quintus commented 10 years ago

Probably should allow an arbitrary sprite to be configured for the meter

I doubt this is a good idea. Every boss would have other meters, maybe even the same boss different ones depending on who made the level. This will cause confusion.

Vale, Quintus

datahead8888 commented 10 years ago
I doubt this is a good idea. Every boss would have other meters, maybe even the same boss different ones depending on who made the level. This will cause confusion.

Changing the boss sprite in scripting could be useful for themes in levels, but Quintus is correct that this would cause confusion in the official game worlds. Themes for levels are probably better done through skins using simpletoon's packaging. The sprite would need to be configurable at the C++ engine level of course in case we need to change it. We still may want a different sprite for the player life meter than the boss life meter (if we do a life meter for the player).