Playmaker Forum

PlayMaker Help & Tips => PlayMaker Help => Topic started by: ludens on November 30, 2017, 12:18:51 PM

Title: How to select a object on Menu UI just using Keyboard or Joystick except mouse?
Post by: ludens on November 30, 2017, 12:18:51 PM
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?
Title: Re: How to select a object on Menu UI just using Keyboard or Joystick except mouse?
Post by: djaydino on November 30, 2017, 03:51:04 PM
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.