Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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?

share|improve this question
up vote 2 down vote accepted

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.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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