Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CocosCreator 引擎资源加载与释放原理简析 #5

Open
wzpan opened this issue May 14, 2019 · 3 comments
Open

CocosCreator 引擎资源加载与释放原理简析 #5

wzpan opened this issue May 14, 2019 · 3 comments

Comments

@wzpan
Copy link

wzpan commented May 14, 2019

https://oedx.github.io/2019/03/14/brief-analysis-of-the-cocoscreator-engine-resource-loading-and-release-principle/

图片取自 Zoommy 本文主要内容如下: 资源加载与释放部分代码所在 调试、修改引擎源码的方法 资源加载与释放原理简析 如要了解 CocosCreator 引擎资源加载与释放的原理,

@sky068
Copy link

sky068 commented Jun 6, 2019

写的非常详细,学习了!但文章排版有问题,我重新排版转载了:
排版后链接

@a85265656
Copy link

第二次加载 SpriteAtlas 后播放帧动画黑块现象 有办法避免吗? 我也已经遇到这个问题。。没有解决方案

@QinGeneral
Copy link

@a85265656
第二次加载 SpriteAtlas 后播放帧动画黑块现象 有办法避免吗? 我也已经遇到这个问题。。没有解决方案

其中一个思路是修改 cc.loader.release 方法,在每个资源释放中添加释放 SpriteFrame 的相关方法可解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants