axmol/samples/Cpp/AssetsManagerTest
Rohan Kuruvilla 7149f0598d Adding missing eclipse project files 2013-03-07 12:13:50 -08:00
..
Classes fixed #1489:add namespace to AssetsManager 2013-02-26 16:43:46 +08:00
Resources issue 1489:add AssetsManager 2013-02-22 11:04:09 +08:00
proj.android Adding missing eclipse project files 2013-03-07 12:13:50 -08:00
proj.ios issue #1489:modify sample code and add readme 2013-02-22 16:02:53 +08:00
proj.win32 Adds AssetsManager support for win32. 2013-02-25 18:03:38 +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.