What's new in v1.8
Joypad support! That's what's new.
And it was a real pain to implement. The API is easy enough to understand, you just have to poll the state of the controller instead of registering event handlers. The reason this was a pain to implement is because the Gamepad API is locked behind HTTPS, so testing it locally is impossible. This is the reason Free Rings received so many updates on the 28th. They were actually release candidates for v1.8 and I was using them to test. I went through 10 of the damn things before I finally got everything working.
The joypad selection is a bit janky but should generally work fine. The first joypad to be "connected" has a permanent reference stored and used until it is disconnected. In the future, I'll probably add a UIMenu to let the player switch.
Files
Get Free Rings
Free Rings
A FOSS recreation of Ninjakiwi's 2007 flash game
Status | Released |
Author | bradenbest |
Genre | Puzzle |
Tags | Arcade, DRM Free, hanoi, Ninja, ninjakiwi, Open Source, rings, Simple, towers-of-hanoi |
Languages | English |
Accessibility | Color-blind friendly, High-contrast |
More posts
- Updates since 1.7Sep 14, 2022
- LEADERBOARDS ARE HERE (!!)Sep 14, 2022
- What's new in v1.6Sep 09, 2022
Comments
Log in with itch.io to leave a comment.
Oh and since it requires a secure context, that probably means that the itch desktop client won't work with it, unless there was some *other* reason `crypto.randomUUID` is unavailable.