Hacker News new | ask | show | jobs
by wishinghand 3053 days ago
I'm not part of the Phaser development team, but I imagine the 3rd party tool they're referencing is Cordova. If you're using the CLI generator for Cordova, you'd put your finished project in the `www` folder and plug in your test device to see how it runs. This creates a webview app that runs on Android and iOS devices.

I'm not an Android or Swift dev, but I imagine you can just stick it in a native webview, which is what I believe Cordova does.

As for performance I can't imagine it's super-performant, but I do know the lead dev does his best to aim for 60fps rendering even under heavy duress.

1 comments

It could also be using something like Ejecta[1], which wraps a javascript engine with a simple native reimplementation of the canvas API. Ejecta is great because its lightweight - you don't pull in all of Webkit like cordova. (And thus you don't have to deal with any of its opaque, ever-changing quirks.)

[1] http://impactjs.com/ejecta