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

Proper keyhandler for WASM solution #45

Open
neophob opened this issue May 11, 2020 · 0 comments
Open

Proper keyhandler for WASM solution #45

neophob opened this issue May 11, 2020 · 0 comments

Comments

@neophob
Copy link
Owner

neophob commented May 11, 2020

current keyhandler for the wasm solution is limited:

  • key toggle is not supported (pause use case)
  • if a key release is not sent - it might trigger the event all the time - think a save game event is not cleared, the game will save all the time. to demonstrate this, remove the setTimeout(() => handleKeyEvent call in the index.html file
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