Cocos2d-X is a game engine framework based on Cocos2d-iPhone, which consists of expanding supported platforms, with multiple choice of programming languages thats shares the same API structure.

What is be better Project Resource Organization and Structure at Cocos2d-X Development?

1 Answer 1


In my opinion, to organize the resource depend on the type of your game, and the animation editor & UI editor and other tools you use.

I'm doing my first cocos2d-x project. Here is how I deal with the resources.

  • I'm using the texturepacker to generate the plists.
  • I'm using the lua script to transform my old UI description file to new ones, and define new data structures and writing new Readers which cocos2d-x can support (something like cocos builder).
  • Each UI has its own directory, including .plist, .layout (my own ui description file).

  • I put all the animations together into one directory, in which the same sprites may share the same animation.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.