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.
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 a web server, and hence, your application will download resources.