O'Reilly logo

Cocos2d-x Cookbook by Akihiro Matsuura

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Managing resource files

Cocos2d-x has an extension that manages resources. It is called AssetsManagerExtension. This extension is designed for a hot update of resources such as images and audio files. You can update a new version of resources on your games by using this extension without updating your applications.

Getting ready

Before using AssetsManagerExtension, you should learn about it. This extension has many useful features to help you make the hot update. Some of these features are as follows:

  • Multithread downloading support
  • Two-level progression support—File-level and byte-level progression
  • Compressed ZIP file support
  • Resuming download
  • Detailed progression information and error information
  • Possibility to retry failed assets

You have to prepare ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required