Questions tagged [cocosbuilder]

CocosBuilder is a free tool (released under MIT-licence) for rapidly developing games and apps. CocosBuilder is built for Cocos2d’s Javascript bindings, which means that your code, animations, and interfaces will run unmodified on iPhone, Android and HTML 5. If you prefer to go native all the way, there are readers available for cocos2d-iphone and cocos2d-x.

CocosBuilder is the ancestor of SpriteBuilder. Its development has been stopped in May 2013.

CocosBuilder is a free tool (released under MIT-licence) for rapidly developing games and apps.

CocosBuilder is built for Cocos2d’s Javascript bindings, which means that your code, animations, and interfaces will run unmodified on iPhone, Android and HTML 5. If you prefer to go native all the way, there are readers available for cocos2d-iphone and cocos2d-x.

Github repo is https://github.com/cocos2d/CocosBuilder

59 questions
1
vote
1 answer

Where to save CCLabelBMFont resources for many resolutions

I am using cocos2d-x and cocosbuilder 3.0 alpha2. It is very convenient to use auto scaled sprites in cocosbuilder. You can add png files under resources-auto directory and content will be automatically scalled during publishing. You don't have to…
Tomasz
  • 1,406
  • 1
  • 18
  • 28
1
vote
1 answer

run another animation after running an animation with ccbanimationmanager

I'm running cocos2d with cocosbuilder 2.1 and I use the cocosbuilder animation delegate (CCBAnimationManagerDelegate::completedAnimationSequenceNamed) to get notified when an animation has completed and take actions like firing another cocosbuilder…
NJUHOBBY
  • 850
  • 3
  • 10
  • 30
1
vote
1 answer

How to use texture generated by TexturePacker in CocosBuilder?

I know it's possible to create texture by Smart Sprite feature in CocosBuilder 3.0. But it's very unstable now. So I decided to use TexturePacker to generate the texture. My .plist and .png files are generated into different folders for different…
Bagusflyer
  • 12,675
  • 21
  • 96
  • 179
1
vote
1 answer

Unexpected property: 'max_length'! after I adding custom properties to Custom class in CocosBuilder

In CocosBuilder, I have a custom class named TextInput used for user input, then I want add a max_length value to limit the length of user input. It looks like below: But when I run, I got the following error: Cocos2d: Unexpected property:…
pktangyue
  • 8,326
  • 9
  • 48
  • 71
0
votes
2 answers

How to add multiple identical nodes to ListView

I try add Node to ListView so: auto nodeToAdd = loadCcbAsNode("fileccb.ccbi").get(); for (size_t i = 1; i < 10; i++) { listView->addChild(nodeToAdd); // it's cocos2d::ui::ListView // which i load…
engineer7
  • 1
  • 1
0
votes
2 answers

CCMenuItem doesn't work (Xcode 7.3~)

I’m a Japanese game developer. I develop some games with cocos2d-x. I’m confused by the following problem. So, if you any idea, please help me. When tap the button put on a cocos2d-x layer, the button doesn’t work. If the button be tapped, the…
Sean
  • 1
0
votes
1 answer

CCBReader not reading files

I am trying to update an old game from to cocos2d v2.2, but CCBReader is not able to read .ccbi files and ends up throwing as assertion failure with warning File not found: HomeScreen.ccbi What happens is, all the ccbi files are ziped, when game…
mdanishs
  • 1,996
  • 8
  • 24
  • 50
0
votes
1 answer

Is there a CCBWriter to compliment CCBReader?

I was wondering if there is a method in cocos2d for saving a given CCNode such as a CCScene to a CCBFile (*.ccb). I've been googling and searching documentation and various fora with no luck.
0
votes
2 answers

Error in publishing CocosBuilder scene in cocos2d 3.0

I am new for Xcode, Cocos2d, and I am making my first steps in CocosBuilder. I am learning from available online tutorials including RayWenderlich Game Development tutorials. While I am copying the code, sometimes I've noticed that authors miss some…
Markus
  • 177
  • 1
  • 7
0
votes
2 answers

Convert CocosBuilder CCB to PNG

I have a bunch of CCB files that consist of CCSprite and 4-5 layers - no animations. I need a way to convert these CCBs to flat PNG images. Creating Smart Sprite Sheets is not good, as it saves each layer as different sprite on the sheet and I need…
CodeViking
  • 206
  • 1
  • 6
0
votes
0 answers

Not matching function for call to "strcmd" with CCB cocos2d-x

I got a error, I don't know why? cocos2d::SEL_MenuHandler StartScene::onResolveCCBCCMenuItemSelector(CCObject * pTarget, cocos2d::CCString * pSelectorName) { CCB_SELECTORRESOLVER_CCMENUITEM_GLUE(this, "gotoPlay", StartScene::gotoPlay); return…
0
votes
1 answer

Editing Timeline from CCB file in cocos

I did some research into this and couldn't really find anything, so if this is a repetitive question I apologize. but anyway I have made a CCB file in CocosBuilder and I would like to start the timeline, for example, at one second instead of playing…
user1179321
  • 797
  • 1
  • 10
  • 24
0
votes
0 answers

Compressed texture packer images caused crash in cocos builder

I have developed an animation app using cocos2d. Now i am working on compressing images. I have compressed some images using texture packer and got 2048 X 2048. I have change image pathes in cocosbuilder to this image set(select image from plist).…
Susitha
  • 3,339
  • 5
  • 27
  • 41
0
votes
0 answers

How to get rid of memory warnings with cocos2d and cocosbuilder

I am working on an animation app, That used cocosbulder files. I am adding scenes by, [[CCDirector sharedDirector] replaceScene:[CCTransitionCrossFade transitionWithDuration:0.5f scene:[CCBReader sceneWithNodeGraphFromFile:@"SongLoadingScene.ccbi"]…
Susitha
  • 3,339
  • 5
  • 27
  • 41
0
votes
1 answer

cocos2d-x Get data from file (xxx.ccbi) failed

Anyone has the same trouble?It happpens when i want to load the ccbi file into the cocos2d-x project.I have debuged it .The resources path is correct.Maybe it's the version problem of cocosbuilde...Any help appreciated. i just code as below ,here is…
willmoon
  • 47
  • 1
  • 7