How to: Load Data Exported from cocos

Symptoms

Failed to load data exported from cocos or the loading effects are not the same as desired.

Cause

This issue may occur due to one or more of the following reasons: directory structure, layout codes and browser settings.

Resolution

1 Adjust directory structure, and add AddSearchPath to res folder by default.

2 Call layout codes, see UI Layout and Multi-resolution Support for more information.

3 Add additional resources to src/resource.js, see Load Exported Data from more information.


扫描二维码或在微信中搜索 KeepMovingXin
欢迎关注微信公众号!