Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gamepad support #30

Open
FlipWebApps opened this issue Mar 27, 2017 · 0 comments
Open

Gamepad support #30

FlipWebApps opened this issue Mar 27, 2017 · 0 comments

Comments

@FlipWebApps
Copy link
Owner

Not all of the components work as expected with gamepad or keyboard input. Add such support using the included GameStructure demo as a basis.

Some suggestions of what needs doing:

Part 1 - Title Screen

  • Navigation of buttons.
  • Settings window
  • Press a certain button to continue

Part 2 - Level Selection Screen

  • Navigation of buttons.
  • Select follows highlighted UI element ensuring correct actions (e.g. can't proceed with a locked button)

Part 3 - Character Selection Screen

  • Navigation of buttons.
  • Select follows highlighted ensuring correct actions (e.g. can't proceed with a locked button)

Part 4 - Game

  • Navigation of buttons (or do we need this - should perhaps just trigger pause window on a specific key press)
  • Support within gameover and pause windows.

Thoughts on some of the key changes that might need doing:

  • Setup an initially selected UI element in the scenes Event System and enable navigation for buttons and other prefabs.
  • DialogInstance should have a 'First Selected' field and record / return the last selected item when shown / closed.
  • Change MouseClickOrTapXxx components - ButtonOrTapXxx and add options for specifying button(s?) to react to.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant