-
Notifications
You must be signed in to change notification settings - Fork 389
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
Using a game controller #26
Comments
Hi @nclm! You can check out the initial setup, as well as the setupControls method. That's how the keyboard and touch controls are implemented in the game. |
Thanks Roberto! I will look into that. And if I get it to work, will do a PR for a |
@nclm That looks amazing! Love the idea and execution 😃 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I would like to use Blockrain using a USB game controller. It will be in some arcade-like environment, in a full screen browser, and using a controller somewhat like this: Arcade Zero Delay Interface Board (but that is not so important as it registers as any generic USB gamepad).
Luckily, there is a Gamepad API in Javascript: Using the Gamepad API /
Implementing controls using the Gamepad API.
How could we make it work with Blockrain? Any directions to go? Any first step or specific file to look at?
Thanks!
The text was updated successfully, but these errors were encountered: