3.06.2005

 

the HUD

Excerpt from an e-mail I sent to Eugene.
Here's something to consider. The health bar is going to be part of something bigger. It's gonna be part of the Heads-Up Display. So you have the game running and drawing in the background, but the heads up display is everything else on the screen that is always there. So, among these things we would like to have the health bar and the possibility to display the characters attributes, experience, level information, etc.
So the functionality of the game will be more generally,


  1. Update()

  2. Draw()

  3. Draw() heads-up display


The heads up display is going to be based entirely on the players characteristics, so imagine a class HUD(Player *p). And what it does is that it draws the heads up display always in the same screen location.

That should give us a good start on the things that are displayed on the screen.


Comments: Post a Comment

<< Home

This page is powered by Blogger. Isn't yours?