3 ms·
More discussion: http://news.ycombinator.com/item?id=5221461 http://news.ycombinator.com/item?id=5221461 I actually tried it out this weekend. Overall it's pre
by woogley 14y ago
More discussion: http://news.ycombinator.com/item?id=5221461 http://news.ycombinator.com/item?id=5221461
I actually tried it out this weekend. Overall it's pretty good.. there are some sharp corners, but when you iron the kinks out, it really does work well. So far I have exported a HTML5 Canvas demo to Android and am excited to try iOS soon.
One thing that needs to happen soon is documentation update. E.g. for the Engine[1] class, `getCanvas` is deprecated[2]. Additionally they don't tell you (or I missed it) that your app/view can supply a `render` function that receives a canvas context directly.
Luckily, there are several demos provided where you can learn these undocumented tricks, but it still shakes my confidence a bit because I don't know if I'm doing things the "right way", or if what I am using will disappear soon.
[1]: http://docs.gameclosure.com/api/appengine.html http://docs.gameclosure.com/api/appengine.html
[2]: https://github.com/gameclosure/timestep/blob/master/src/ui/Engine.js#L182 https://github.com/gameclosure/timestep/blob/master/src/ui/E...