axmol/samples/Cpp/AssetsManagerTest
Ricardo Quesada e1d65e149b some fixes
removes deprecated functions from AsssetManager
AssetManager: updated project
HelloCpp: does not depent on box2d, chipmunk, etc.
2013-06-24 18:20:07 -07:00
..
Classes some fixes 2013-06-24 18:20:07 -07:00
Resources make AssetsManager work on iOS 2013-03-18 15:57:30 +08:00
proj.android issue #2305: use 4.7 toolchain to fix compiling errors 2013-06-21 17:17:23 +08:00
proj.ios some fixes 2013-06-24 18:20:07 -07:00
proj.win32 closed #2322: Updating all win32 project configurations, improvement by using Multi-processor Compilation. 2013-06-23 17:25:34 +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.