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

Enabling Gamepad input while game is paused #423

Merged
merged 1 commit into from
Dec 23, 2017
Merged

Enabling Gamepad input while game is paused #423

merged 1 commit into from
Dec 23, 2017

Conversation

pavle-goloskokovic
Copy link
Contributor

This PR

  • changes the public-facing API

When game is paused, input events from gamepad controllers are not handled.
This prevents any user interaction trough gamepad if game gets paused when opening game menus and basically blocks the game since user can not exit the menu or choose any option if there are no other input methods available (like keyboard, mouse or touch events).

It ruins the players' experience or forces developer to not use gamepads or drastically change game code in order to do so.

This PR enables gamepad controllers to be used while game is paused and solves this issue.

@samme samme merged commit a192507 into phaserjs:master Dec 23, 2017
samme added a commit that referenced this pull request Jan 13, 2018
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

Successfully merging this pull request may close these issues.

None yet

2 participants