axmol/samples/Cpp/AssetsManagerTest
zhangbin b854c25103 Add parameter in method cocos_android_app_init() to initialize plugin. 2013-09-02 16:10:08 +08:00
..
Classes issue #2732: [iOS] Updating the reference of auto-generated binding glue codes. 2013-08-27 16:05:48 +08:00
Resources make AssetsManager work on iOS 2013-03-18 15:57:30 +08:00
proj.android Add parameter in method cocos_android_app_init() to initialize plugin. 2013-09-02 16:10:08 +08:00
proj.ios issue #2397: Application::sharedApplication --> Application::getInstance. 2013-07-15 16:24:42 +08:00
proj.win32 issue #2732: Adding 'scripting/auto-generated/js(lua)-bindings' to search path of include files. 2013-08-27 16:46:31 +08:00
README.md Update samples/Cpp/AssetsManagerTest/README.md 2013-02-22 17:26:21 +08:00

README.md

This sample shows how to use AssetsManager to auto-update application resources(pictures or scripts).

In this sample, there is a scene which contains three items:

  • enter

    Start to run script.

  • reset

    Delete downloaded resources and delete recorded version code.

  • update

    Download new version of package if it exits.

You can use this sample like this:

  • Run original version application(refered as v1)
start application
click "enter"
  • Run new version application(v2)
start application
click "update"
click "enter"

You will find the changes.

  • Run v1 again after running v2
start application
click "reset"
click "enter"

The application turns back to v1. Ofcourse you can run v2 again as mentioned abave.