Reddit, I made a kerning game with HTML5.
r/Designu/mondesuuu:
I got 90. I’m impressed with myself. Also it doesn’t work in Opera.
Ah! Thanks for the notice, I had tested it in Opera in early stages, but then I introduced a change that broke it. Check it out again.
u/king_of_the_universe:
As has been said: Great!
Question: Is zooming in and out with the browser considered cheating? Everybody has a different screen size / viewing distance, anyway. And the text is displayed quite large for my taste (19” 4:3, 40 cm view distance), and I performed much better when I reduced the display size (browser zoom).
EDIT:
The game can even be put to good use. Warning: The picture of the submission is NSFT (typographers).
No, I wouldn’t consider it cheating at all
u/fetimo:
If it’s any consolation it works fine in Opera Next (a pre-alpha of 12). Great game!
Ah, I meant I fixed it in Opera 11.5 after mondesuuu’s notice
u/chewp911:
That’s kind of a huge point of HTML5
It’s more complicated than that, you still have to write code to track multiple fingers and make it behave more like an app.
u/CaptainKabob:
Are you using a library or did you write the touchstart/touchend/etc events yourself? …I could look at the code… But I’m on my iPad :-)
Also, my partner (with occasionally controversial aesthetics) likes the game a lot.
I didn’t program the drag and drop functionality myself, it’s provided by the library (Raphaël). However, in the desktop version you can select and move with your keyboard, so there’s code specific to each device.
There’s minimal touchstart/touchend just to prevent the user from scrolling and just some bits here and there to get everything working.