按《快速上手》创建的三维项目体积超大,构建失败,如何瘦身?

小游戏 文章 2022-01-02 12:40 281 0 全屏看文

AI助手支持GPT4.0

按《快速上手》创建的三维项目体积超大,构建失败,如何瘦身?The 3D project created according to "Quick Start" is very large and the construction fails. How to lose weight?

按《快速上手》创建的三维项目体积超大,构建失败,如何瘦身?
框架类型 问题类型 操作系统 工具版本
小游戏 Bug Windows wechat_devtools_1.05.2112084_x64

按《快速上手》创建的三维项目,构建失败,首场景及跟随主包的入口资源体积7.65MB。此体积是否正常?若否,如何清理?若是,如何构建?

Framework type problem type operating system tools version games bug windows wechat_ devtools_ 1.05.2112084_ X64 the 3D project created according to quick start failed to build. The first scene and the entrance resources following the main package have a volume of 7.65mb. Is this volume normal? If not, how? If so, how?

回答:

小游戏运营专员 - 宏:

性能优化一下看看:https://developers.weixin.qq.com/minigame/dev/guide/performance/perf-overview.html

王极利不想留在岛上但还得吃笋:

资源全部挂载到cdn只留下代码,一般都不会超过了。除非是持续维护了好久的大型项目,代码才会超过,超过的话,1是考虑代码压缩,2是分包,webgl自己把加载界面的背景图绘制出来,其余代码全部打成分包

-EOF-

AI助手支持GPT4.0