When using CocosBuilder, it generates both .ccb file and .ccbi file. In project you use .ccbi file instead of .ccb file. I have a couple question on these, 1, what is .ccbi file 2, why using .ccbi file instead of .ccb file? Thanks in advance for your answers
Asked
Active
Viewed 8,140 times
1 Answers
5
CCB files are simple Plist-files with a ccb extension. It is human readable (text/xml) and you can easily edit it manually if required. For example, I sometimes will generate several scenes based on one ccb file using a simple script. The format is well documented on CocosBuilder github page.
One distinction, is that Sticky Notes which are meant to be displayed in CocosBuidler are only found in CCB files.
CCBi is a binary format meant for publishing.
It is a binary file format designed to be as compact as possible and very quick to load.
The binary format is also documented by CocosBuilder.

ppl
- 1,120
- 5
- 18
-
with that said, using ccbi file is faster than ccb file? Thanks for the answer, very helpful. – user1817517 Jun 04 '13 at 05:47
-
@ppl can u help me to load .ccbi file by CCBReader because i am trying to load that file but its not at all working. Its working in debug mode but in release mode its returning nil. – veeresh kumbar Jan 11 '19 at 12:30