设为首页收藏本站同能贴吧 切换语言 繁体中文
开启辅助访问 切换到窄版
扫描二维码关注官方公众号
返回列表
+ 发新帖
查看: 68|回复: 0

[交流讨论] Help Solving Android Deployment Lag

[复制链接]
累计送礼:
0 个
累计收礼:
1 个
  • TA的每日心情
    开心
    前天 04:10
  • 签到天数: 209 天

    连续签到: 2 天

    [LV.7]常住居民III

    4446

    主题

    864

    回帖

    2万

    积分

    管理员

    Rank: 9Rank: 9Rank: 9

    VIP
    7
    卡币
    22899
    OK点
    16
    推广点
    0
    同能卷
    50
    积分
    28239

    灌水之王

    发表于 7 天前 | 显示全部楼层 |阅读模式
    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/
    天天去同能,天天有童年!
    回复 送礼论坛版权

    使用道具 举报

    文明发言,和谐互动
    文明发言,和谐互动
    高级模式
    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    简体中文
    繁體中文
    English(英语)
    日本語(日语)
    Deutsch(德语)
    Русский язык(俄语)
    بالعربية(阿拉伯语)
    Türkçe(土耳其语)
    Português(葡萄牙语)
    ภาษาไทย(泰国语)
    한어(朝鲜语/韩语)
    Français(法语)
    关闭

    幸运抽奖

    社区每日抽奖来袭,快来试试你是欧皇还是非酋~

    立即查看

    聊天机器人
    Loading...

    QQ|Archiver|手机版|小黑屋|同能RPG制作大师 ( 沪ICP备12027754号-3 )

    GMT+8, 2026-7-14 14:20 , Processed in 0.145145 second(s), 55 queries .

    Powered by Discuz! X3.4

    Copyright © 2001-2020, Tencent Cloud.

    快速回复 返回顶部 返回列表