Lag on Android (project and apk download links inside).

I just deployed and placed a new RMMV project (updated to RMMV 1.2.0) on my Android phone, a Galaxy S5, a fast phone, but there's some lag going on. There's almost nothing in the project; all I'm testing is walking left and right, but there's some noticeable lag.


I think the frame rate stays consistent, but when it lags it stays stuck on a frame and then skips a few to catch up with where the game's at (well, you know what lag is).


Here's the project: https://www.dropbox.com/s/sywt29oj08j0zla/Abby_RMMV.rar?dl=0


And here's the *.apk, in case anyone is nice enough to actually check it out on their Android phone: https://www.dropbox.com/s/ipjo49sxt5bwqgh/Sample_0.0.1_arm.apk?dl=0


The project's 74 MB.


SIDE-QUESTION! How can we successfully compress images for RMMV? It doesn't allow the use of *.jpgs, so just the simple parallax background in the project is easily 2 MB. I know you can change *.png to "indexed color", but that is not a good option; it can make the images look really horrible. Any other ways to cut down file size?
About the compressing, did you try https://tinypng.com/?
I'd suggest PNGcrush. I've used the standalone one. Yes, it makes your PNGs indexed colour. But it's also smart about it. I used it on a 7+MB image (128px item icons image), with partial transparency, and it got it down to ~2MB. It left the partial transparency intact, and considering the wide array of colours in the image, the result was pretty impressive, all things considered. People at work that played my game didn't even notice.


You can find the standalone version here, which uses command line, but has more options: http://pmt.sourceforge.net/pngcrush/
Thank you for the advice on the compression, guys!


Unfortunately I find that even after greatly compressing the background to 300kb and removing all unnecessary files from the project, there's still the same amount of lag!


Could someone please check out the project and let me know what the problem could be? This is basically an empty project with a few plugins and a parallax, yet there is noticeable lag when moving around (on a phone that can smoothly run any app, really).


(Still the compression advice will be very helpful with keeping the filesize small. ^^)
I'm running the provided sample APK on a fairly dated Nexus 5, and not noticing any lag at all. Try clearing out your recent apps, to make sure that you have enough memory free for MV. I've found that Android's memory management isn't up to par with iOS.
I'm running the provided sample APK on a fairly dated Nexus 5, and not noticing any lag at all. Try clearing out your recent apps, to make sure that you have enough memory free for MV. I've found that Android's memory management isn't up to par with iOS.



Really? Thank you so much for checking it out.


The lag is not heavy at all for me, but definitely noticeable, especially the first time that I move. So if you're not noticing it at all, it would seem to imply that it's related to my phone.


I'll try some memory cache cleaning.


Edit: Hmm, yeah, still some noticeable lag. Here and there, though. Not continuously.

Original thread: https://forums.rpgmakerweb.com/threads/lag-on-android-project-and-apk-download-links-inside.65719/