playMaker

Author Topic: How to select a object on Menu UI just using Keyboard or Joystick except mouse?  (Read 1440 times)

ludens

  • Playmaker Newbie
  • *
  • Posts: 7
Hello.

I am making game which use only Keyboard or Joystick for game console.

In Menu UI, I want to let player to select an object just using Keyboard or Joystick except mouse.
(There are 4 objects on Menu UI. 'Resume Game', 'Save Game', 'Setting' and 'Go to Title' are them. And I use 'Scale Time' action to pause progress.)

However I don't know how to select an object of Menu UI except mouse. Could you help me?
« Last Edit: November 30, 2017, 01:02:00 PM by ludens »

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7614
    • jinxtergames
Hi.
On the places that you would trigger the buttons by mouse (transitions in your Fsms)
You can place 'get key down' and set a key to trigger the same transition.

This will not trigger the Transition(Color tint/sprite swap/animation)
If you want 'Color tint/sprite swap/animation' for both i would suggest to make this inside the fsm (at least the pressed state) instead of using the one on the button.