juicejerry Posted August 6, 2014 Share Posted August 6, 2014 Hi, I am looking for an html game engine to make something running on mobiles, I just played around this remake of Flappy bird(authored by uralozden), created with Phaser, it is quite simple with 400 lines in main.js, and it runs smoothly on PC, but on my android phone, it's just too laggy. The birdy is jumping rather than flying. Code and demo here:https://github.com/uralozden/flappy-bird I can't see any problems in the code, and the assets used are in small size, so I wonder is it the best phaser(or html5) can perform for this kind game?? Can it be optimized any way?? Thanks Link to comment Share on other sites More sharing options...
lewster32 Posted August 6, 2014 Share Posted August 6, 2014 This is using a very old version of Phaser (1.1.3) and as such a lot has been optimised since then. If you don't want to update (as doing so will require a lot of fiddly changes) then I'd recommend systematically disabling various parts of the game to see which is causing the biggest performance hit. Try turning the text off, removing the background clouds, and even comment out the overlap check. You should be able to quickly narrow it down. Link to comment Share on other sites More sharing options...
Recommended Posts