Projects > cpp > Issues > Refactor #2084

We are migrating issue tracker of Cocos2d-x Project to Github, please create new issue there. Thanks.

Create Issue on Github

Unify the method of loading lua files on all platforms

Refactor #2084 [Closed]
zhangxm 2013-04-26 04:10 . Updated about 11 years ago

Android has its own lua loader because lua files are packed into a zip file(apk). So all lua files are loaded through CCFileUtils.
It means that we can use the same file searching mechanism as other resources.

On other platforms, lua engine load a lua file by its own searching mechanism. So should set search path into lua engine, it is not convenient.

We should use one searching mechanism for all resources.

zhangxm 2013-04-26 05:22
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Applied in changeset commit:5450686b9389ff18f8669e266964d08a30ac98d4.

Atom PDF

Start date:2013-04-26
Due date:
% Done:


Target version:cocos2d-2.1rc0-x-2.1.3