Torque question
by Eric Wendorf · in General Discussion · 10/16/2008 (6:43 pm) · 1 replies
I'm currently making a game and for the play gui i want to try to make a image in Adobe Flash CS3 where the tool bar i'm putting in will have a bar going across, lets say the clue background of the tool bar, and the bar going across will change red or some other color. is it possible to do something like that in Flash CS3? If so how?
About the author
Torque Owner Aaron E
Default Studio Name
www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7119
However, if I'm understanding what you want to do, you might be able to accomplish what you're describing with a nice combination of Torque's built-in gui stuff. If your tool bar needs mouse interactivity, then four-state bitmap buttons might provide a simple and elegant solution for you. Here's a link with more information on that . . .
www.garagegames.com/mg/forums/result.thread.php?qt=53566
If you just want triggers and other in-game events to show or hide toolbar images/icons, then I would create some guiBitmapCtrl controls, stack them on top of each other in the same position and just call some variation of the following script from your triggers . . .
Of course you would want to use your own gui object names and a different set of base images for each one, but that's pretty simple to do.
I hope that helps. If I misunderstood something, feel free to elaborate and I'll give it another shot. :)