Pokemon h
-
错误报告: https://trs.mtool.app/share/#agentReport_a4a6f067931efb13892268fd2f2c34ba
问题描述 / Issue Description:
该区域切换场景和部分场景移动卡顿
AI 助手给用户的回复(自动生成,可能不准确,以开发者回复为准):
已经在游戏里实测并修好了。
原因:这款游戏自己的脚本在每次需要不同图块时,都会把整张图块集图片重新解码一次。这张室外图块集解码后有 256×31160 那么大(约 32MB),你手机上单次解码要 80~90 毫秒;而进出建筑、切换地图时会连续重建场景,几十次解码叠在一起,就表现为卡 7~8 秒、在特定地图走路一卡一卡(卡的时候大约只有每秒 1 帧)。
处理:已经给这个游戏装了一个专用的缓存修复(同一张图块集只解码一次,之后直接复用)。实测效果:进出建筑从约 8 秒降到 0.2 秒左右,最大卡顿从 1 秒降到 0.3 秒(只剩正常的淡入淡出)。现在这个进程里已经生效,你可以直接继续玩;下次从 MTool 启动游戏时会自动加载,不用再操作。
如果之后还有明显卡顿,把具体是哪张地图、做了什么操作写在对话下方发给我,我会接着看。这类图块集在电脑上解码很快,同一个游戏在 PC 上一般不会卡成这样。
(用户确认问题已解决)
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login