Well, I've completed another tutorial. This one isn't related to my earlier tutorial series, and we're still waiting to see what goes on with my
ZFGC University proposal before I continue that.
In the mean time, enjoy this tutorial on the creation of a heads up display component for your games.
TargetThis tutorial targets those working on a two-dimensional game, though three-dimensional games rendering their heads-up display as two-dimensional sprites will work fine with this tutorial. It assumes basic knowledge of C# and XNA.
CoversHeart-on, Heart-off health system. This system uses a health system that goes with a heart-per-hit-point approach.
Mana Bar magic system. This system creates a "magic bar" of specified dimensions to show a player's remaining percentage of magic.
Wallet system. This has a wallet system that uses an image for a wallet and a sprite font to display the number of coins in the player's wallet.
Buttons system. This shows action buttons, with associated action, weapon, or item.
ContentI created the images in this tutorial on my own, with the use of
Microsoft Expression Blend 2. You may use them freely, though they are of admittedly low quality.
Mirrors(ZFGC - PDF ONLY) -
http://www.zfgc.com/forum/index.php?action=dlattach;topic=32778.0;attach=4956(ZFGC - DOCX ONLY) -
http://www.zfgc.com/forum/index.php?action=dlattach;topic=32778.0;attach=4957(ZFGC - ENTIRE) -
http://www.zfgc.com/forum/index.php?action=dlattach;topic=32778.0;attach=4958(Minalien.com - ENTIRE)
http://files.minalien.com/HUD%20Tutorial.zip