angelkom Posted February 26, 2014 Share Posted February 26, 2014 What's can make the game lag and still the fps runs at 60-62. @enpu can you tell us how can we fix this? Quote Link to comment Share on other sites More sharing options...
Luiz Bills Posted February 27, 2014 Share Posted February 27, 2014 Your game creates many objects? Try to use object pool. Quote Link to comment Share on other sites More sharing options...
angelkom Posted February 27, 2014 Author Share Posted February 27, 2014 how to use and whats that Quote Link to comment Share on other sites More sharing options...
enpu Posted February 27, 2014 Share Posted February 27, 2014 Does it only lag on Android? Quote Link to comment Share on other sites More sharing options...
angelkom Posted February 27, 2014 Author Share Posted February 27, 2014 I don't know for other platform the same I noticed with you flying demo the parallax lag little Quote Link to comment Share on other sites More sharing options...
enpu Posted February 27, 2014 Share Posted February 27, 2014 What Android version? And does it lag only when using CocoonJS? Quote Link to comment Share on other sites More sharing options...
angelkom Posted February 27, 2014 Author Share Posted February 27, 2014 Android 4.1.2 Jelly Bean but I have Mali400 MP4 for this type of game it should be smooth, but the problem is the fps is 60-62 and still there is little lag, the bigger lag is when you start the game, and later if after few playing the game doens't lag that much Quote Link to comment Share on other sites More sharing options...
enpu Posted February 27, 2014 Share Posted February 27, 2014 I just tested Flying Dog on Google Nexus running 4.1.2 with CocoonJS Launcher 1.4.7 and i can't see any noticeable lagging. How big is the lag that you are noticing? I also tried WebView, and the game works but not smoothly and that is because WebView uses Android's stock browserwhich is not good for HTML5 games, so i would recommend to not use WebView. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.