Monday, August 4, 2014

Cocos2D-X Android: "Resources" vs "assets" Folders

In Cocos2D-X, the art assets are placed in a "Resources" folder that is above the project folder for every project. However, in Android, the folder designated for this is "assets", and it is inside the Android project folder.

How Cocos2D-X manages this (tested on Android ADT), is that the "Resources" folder should contain the master copy for all the assets, and that all assets should be managed from there. When the "assets" folder is refreshed, it is automatically synced with the "Resources" folder.

No comments:

Post a Comment