GUI objects..
by Jason Booth · in Torque Game Builder · 01/22/2006 (10:27 pm) · 2 replies
I was wondering if anyone had a good technique or tutorial on how to create a scalable number of GUI elements dynamically? What I mean is, imagine I have a GUI for health/score/etc and I want to have an arbitrary number of these on screen. I'd like to associate each of these with an object (player, enemy, etc) and have them drive thier own updating and location on the screen.
Whats the best way to do something like this? Can I create a collection of GUI elements and instanciate them in some way?
Whats the best way to do something like this? Can I create a collection of GUI elements and instanciate them in some way?
About the author
Torque Owner Joe Rossi
Indri Games
tdn.garagegames.com/wiki/Torque_2D/GenreTutorials/StrategyUnitCreation
In this tutorial Matthew added a health bar GUI to a few different game objects, and they all update independantly. I still have to get my head around this too...