Saturday, 27 March 2010

Last bit of the HUD

Now that I have all my variables up and running in the Game screen, I need to make it look a bit nicer. Earlier on, I had made a 2D image to be applied behind the variables in the HUD to make it stand out a bit more.

Something that should also be noted is that I am working for the resolution 1280 x 720 for my game, since this is a supported HDTV resolution (which would make it compatible with most widescreen televisions). Again, if there is time at the end of the project, I would like to go back and set up scaling for all of the images I am using so that the resolution of the game would not affect its appearance.

To add an image to the gamescreen, a GUITexture gameobject must be added. The asset of the image to be used is assigned as the texture, which can then be scaled and positions using hte Pixel Inset functions. The final HUD can be seen below.


No comments:

Post a Comment