fishfolk / punchy

A 2.5D side-scroller beatemup, made in Bevy
https://fishfolk.github.io/punchy/player/latest
Other
263 stars 32 forks source link

Implement Enemies' Energy Display #66

Open 64kramsystem opened 2 years ago

64kramsystem commented 2 years ago

In beat 'em ups, there are two common ways of displaying enemies' energy:

  1. display a small panel structured like the player one (photo + bar) below the player energy panel
  2. display a bar immediately above the enemy's head

There are pros and cons for both, which differ when multiple enemies are hit:

There's no best strategy (unless some innovation is applied 😉. I don't think one as inherently better than the other (I'm personally used to Final Fight's style, which is 1.).

erlend-sh commented 2 years ago

The Final Fight style is better suited to just 2 players and fewer enemies. No bar is also a common option; we’ll default to that for starters.

Castle Crashers for instance has no bar (except for bosses) but instead shows a damage counter: 08D08D6E-6DF8-41D8-BEC3-A519A24B4D20

I suspect this will be the best fit for us as well, because we will sometimes have larger waves of enemies and big AoE attacks that might affect a dozen enemies at once.

Even this approach can get messy though: 2CDBD1AF-3135-4DB3-B9DC-FCC088CBD51E

I suggest we only show damage counters on critical attacks and other such special hits.

odecay commented 2 years ago

I also like the display damage counter but no healthbar style.