Game Development Community

GUI gamepad support

by MthDc · in Torque 2D Beginner · 07/02/2014 (12:28 am) · 2 replies

I am in the process of making my game playable with a 360 controller.

An issue I have seen is that I cannot control the GUI with a controller.
Is there a workaround? Should I look somewhere in the source code? Or should I roll my own GUI solution?

About the author

Recent Threads


#1
07/02/2014 (4:47 am)
My opinion is to write some TorqueScript to navigate the menus. Modifying the source or creating a new GUI system seems like overkill.
#2
07/02/2014 (6:40 am)
I'm with Mich - it's not that hard to write button handlers that cycle gui object selection and activate the current selection. Just be sure you push the gui action map when the gui is active and pop it when you're done.