Alexandre Rousseau
Alexandre Rousseau
Same here. @sallar are we missing something?
Thanks @jmmanlupig .
I wish github had a larger star one could star "superstar" projects like yours... Great tutorial, impressive set of features, and an invitation to not use it for production and...
Agree with you on all counts. I've been playing (again) with Elm these past few days and awesome though it may be, absence of (non-deprecated) HTML5 canvas support hurts. One...
Okay got it. Should do: ``` g.leftArrow = g.keyboard(37); g.rightArrow = g.keyboard(39); g.leftArrow.press = () => { player.vx = -5; player.vy = 0; }; // etc. ```
No prob. Suggestion: **Update tutorial to account for removal of g.arrowControl property.** Probably #22.
I traced this down to the tink module and its event.preventDefault() call inside the keyboard handler function. Should I transfer this issue over there?
Not sure I found the right code. Disabling the keyup and down listeners set up by hex.min.js in Chrome's dev tools does make the problem go away. Event capture and/or...
I would love to pipe in, saying how interested I am in this and asking for a brew formula, but that might be annoying, so I won't. :)