Game Development Community

Various GUI questions.

by Ian Roach · in Torque Game Engine · 02/06/2002 (12:55 am) · 1 replies

Hey guys ive got a few questions about the GUI.

1) I know some people have already got Radars and Compasses in game working (i read it in one of the .Plans) but im just curious if theres some step by step tutorials do do both a radar and compass ?

Also in terms of a compass i want a straight image (i.e a line) that scrolls left and right depenent on your direction (i.e not a circular compass) any ideas on how to accomplish this ?

2) In terms of GUI components ive just been adding the components i want to show all the time to the playgui.gui . Is this the correct way to do it ?

3) Is it possible to move the GUI on the fly (as in when ure walking) as well as making them fade in and out on the fly ?

4) A while ago sumone had got skins working in the engine. Is garagegames incorporating this code ?

and finally i would like to know is how do you create different HUD styles for different teams(or vehicles)

Regards

#1
02/06/2002 (2:50 am)
1. Take a look in the Code Snipits section.

2. I think its just personal preference...you can do it either way. (otherway would be putting in your own gui file and attaching to the play gui)

3. yep

4. Not that I know of.

5. You would simply need to create them each in thier own gui files and then simply switch out Guis once they are all loaded.

-Tim aka Spock