flackr / dungeon

A D&D based multiplayer role playing game.
13 stars 4 forks source link

Show health bar and bloodied state for characters #1

Closed flackr closed 12 years ago

flackr commented 12 years ago

Health bars for characters.

We should draw health bars for characters so you can see at a glance who's injured and how badly. Short term everyone can have health bars and in the long term only DMs can see everyone's health bar you can only see health bars for your allies and enemies will only show a bloodied indication.

Implementation.

Health bars are completely visual and as such only need to be implemented in dungeon-client.js. In the (poorly named) update function, health bars can be drawn when drawing the character.

kellis commented 12 years ago

Confirmed fixed. Character health bars include a region to indicate how close to death when below zero hit points. Monster health bars are restricted to show healthy and bloodied from a player perspective and show percent of maximum hit points for DMs.