Game Development Community

[noob]HUD question

by tj gillis · in Torque X 2D · 02/25/2010 (10:59 am) · 1 replies

Hey all,
I've been playing with torque for a couple of days now and I'm looking at making something similar to a hud. Really just a few interactive onscreen elements - think WoW spell/item slots.

Is the easiest way to make this a class have it at layer 1 in each level, or is there an easier way to make the stay on screen?

Any help would be awesome. I'm pretty stuck and haven't had any luck finding a tutorial on this. Thanks ^^

About the author

Recent Threads


#1
03/08/2010 (9:41 pm)
Heya, You may want to as you mentioned just create the objects on layer 1 if your going for MMO style GUI assuming you arn't letting players drag new icons on and off the action bar. You can then have a 2nd camera render them so they dont move. (check out the tutorial with the radar for a simular concept)

You could delve into the Torque GUI System but I think for your use it would be more trouble then it is worth.

If your looking to create an action bar that lets users change out the icons your going to need to write an entire system for this. You might also want to consider a clever use of tilemaps for your inventory/action bar. Check out the tetrus part of John's Torque X book.