じ☆ve冰风 发表于 7 天前

Help Solving Android Deployment Lag

Hello everyone,
I wanted to test my RPG Maker MV game on my Android device - Google Pixel 6 and I've encountered very disturbing lag issues.
Now I know this has been addressed on multiple threads as I've read through each and every one of them to try and solve multiple issues I've encountered and all were resolved except for the lag.

I noticed the most noticeable lag occurs when animations are played - Especially during battles.
There is also some small lag when interacting with events that open a message box.
To me, this makes the game pretty much unplayable.

Details about everything I've tried (And haven't tried for a reason):

[*]I have approximately 1.2GB of assets which consist of audio and images. I know this is a lot and I have plans to minimize it but I doubt it'll be less than ~800MB as my game is quite big with a lot of content.
I saw this thread where @Milennin mentioned having the same issues and was recommended to reduce the assets sizes, however that did not solve the issue after reducing ~70-80% files size.
That's the main reason I haven't tried it, though I do plan to do it anyways for optimization reasons.
[*]I have used this guide by @TehGuy (Combined with this guide), without the Google Play Store part, to move all my assets to an OBB file and that seems to have worked as my APK is ~7MB in size and the game works but I did not see any improvement in the lag.
[*]All parallel process events have a small "wait 5 frames" to improve performance on all maps.
[*]I have a lot of Yanfly's scrips that have some optimizations and have written a lot of code myself and did the best to optimize my own code as well.
[*]I know a lot of assets are already cached either by the latest updates to RPG Maker MV or the optimizations done by Yanfly's core plugin so I'm not sure if adding even more caching would help, especially when I've read there's still a limit to the amount of memory allocated to the app even in a relatively strong device as the Pixel 6.
[*]As a side note, I've solved all other issues like Iconset size being 4096px in height resulting in black boxes for icons and setting `PRECISION_FRAGMENT` to "highp" to solve the tilesets black lines issue.
Another thing worth mentioning is that I run my game on a very strong PC and relatively weak laptop on battery and I have never encountered anything like the lag I experience.

I'd like to know if anyone has any suggestions on how to solve this as I was really hoping to release it not only for PC...

Thanks in advance for you patience and help.


本贴来自国际rpgmaker官方论坛作者:aLostSolo处,因国际论坛即将永久关站,为了存档多年珍贵资料,署名转载到本论坛存档,由于官方帖子为英文原帖,需要中文翻译请点击论坛顶部切换语言为中文就可以将帖子翻译成中文浏览,方便大家随时查看,原文地址:https://forums.rpgmakerweb.com/threads/help-solving-android-deployment-lag.170259/
页: [1]
查看完整版本: Help Solving Android Deployment Lag