Game Development Community

GUI Controls

by Doug Barnes · in Torque X 2D · 06/25/2007 (6:15 pm) · 2 replies

Hello everyone,

I am currently writing a menu for a game and I need some help on selecting specific buttons. What I want to be able to do is press up on the keyboard then select the button above the button that was currently select the same goes for then I press right or left I want to select the button on the right or left of the current button selected. If anyone could point me to a tutorial or give me an example of how to do this I would greatly appreciate it.


thanks,
Doug

#1
06/25/2007 (8:01 pm)
Check out the menu in the TorqueCombat demo. It does pretty much what you're describing, except it's just up and down.
#2
05/22/2008 (8:19 pm)
Is TorqueCombat not in TorqueX 1.5? Only demo's I see are FPS, Split-screen, TankBuster, and one other. No TorqueCombat. I'd like to get ahold of it for the GUI examples. Any thoughts?