9 ms·
This seems less like an indictment of PhoneGap, it's more of a warning not to build games in JavaScript. Had the author used an appropriate tool for making gam
by cloakandswagger 10y ago
This seems less like an indictment of PhoneGap, it's more of a warning not to build games in JavaScript.
Had the author used an appropriate tool for making games--a game framework like Unity--they wouldn't have run into all of these performance problems and it would've still been cross platform. Hell, Unity even has a JavaScript-esque scripting language if you're so set on learning only one language (although it's vastly inferior to C#)
- gurkendoktor 10y agoAs far as I know, Crossy Road is built with Unity and it often skips many frames on my iPhone 5s. I'm not sure how Unity works, but it also felt like garbage collection - a single, long hang every few minutes of playing the game. (Maybe things have improved, this was when the game was pretty new.)
- derFunk 10y agoNever experienced frame lag with Crossy Roads, and I played it a bit. Something like this _can_ happen with Unity, but if it happens it's 99,99% bad programming, and not the engine's fault, unless you do graphically extensive things, which Crossy Roads certainly didn't.