-
Notifications
You must be signed in to change notification settings - Fork 74
Gamepad support, multiplayer considerations? #113
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
Comments
Hi @zatch. Great feature ✌️ You could create a simple demo? Bye! :) |
@brenopolanski I'm honestly not sure if I'm going overkill on the math I'm doing in jaws.gamepadReadJoystick, so I don't feel quite ready to build a formal demo page yet. I'd prefer to actually know what I'm talking about before I write up documentation/notes. ;) In the meantime, you can check out the work-in-progress game I'm working on with @suicidepills. It has pressure-sensitive joystick support for movement (left analog), as well as for drawing a vector that will eventually represent attacks (right analog). Game progress as of this moment: You can see how I'm implementing the gamepad joysticks at: Let me know if you have any questions! Or, if you're better at physics than I am, if you have any suggestions! -Zatch Disclaimer 1: Current game sprites are borrowed from Final Fantasy 4. |
@zatch... I will test your code and the send to you my suggestions. Bye! :P |
Hey there,
Just wondering if you've spent any time working with the Gamepad API, now that it's in live builds of Chrome and Firefox... I whipped up something to add support myself, but it's far from perfect at this point. Xbox 360 support only, but that would be easy enough to change. Feel free to check it out on my fork: https://github.com/zatch/jaws
Criticisms and enhancements appreciated!
-Zatch
The text was updated successfully, but these errors were encountered: