Featured Tech Projects











Featured Music Links

Original Music Download
(Scores and audio - Over 6 Gig)


Music Video
XNA HUD Creator    A WYSIWYG editor for XNA screens.

One of the most tedious tasks when writing a game in XNA Game Studio is the creation of the HUD (Heads Up Display) and other 2D screens. The programmer manually displays textures, strings, variable contents and other assets on the screen using vectors and rectangles. Although the programming is not difficult, it can be time consuming and if the programmer isn't careful, the code can become messy. When starting my latest game, I thought it would be much faster to write a program that lets me drag and drop assets onto the screen. XNAHUDCreator is a Windows application that accomplishes this.

How XNAHudCreator works:
XNAHUDCreator starts as a blank project with one screen. A toolbox on the left lets you set the screen size for the game and has buttons to add textures, strings, flip books and some commonly used variable types. Additional screens can be added to the game, allowing XNAHUDCreator to help with menus and other screens you may want in your game.

When you export to your game, XNAHUDCreator makes the required SpriteFonts and copies the assets to a new folder that it creates in your games's Content directory. The assets are added to the project automatically so you don't have to right click in the Solution Explorer.

A DrawableGameComponent class is added to your game project for each screen. These classes include all the code required to load and display the assets. An xml file is added to the game that contains the required data.

This program is offered as freeware. If you find it useful and would like to see more software available, donations are accepted through PayPal. Go to the M&M Studio Store and scroll down to Donations.
swSQL.com © 2006 - 2013 Mark D. Miller     I affirm that all materials and information supplied in this site consist of my own work and accurately represent my skills and achievements.