libgdx - Using a joystick or gamepad to traverse through scene2d menu -
i'm wondering how can add support traverse scene2d menus (tables) libgdx using joystick, gamepad or keyboard keys.
does know how should done?
you need bring concept of focus in menu, rest easy. (just old video games)
- maintain focus variable in menu.
- draw menu-item in focus differently (maybe additional border).
- handle key events update value of focus.
hope helps.
Comments
Post a Comment