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
4
votes
1 answer

How to load ccbi files with CCBReader in background thread?

I recently using CocosBuilder to build the interface of a game. I can load ccbi files in main thread without any problems.But when I load it in the background thread. I got an empty layer/node with black background. So my question is how to load…
iamro00
  • 71
  • 4
3
votes
1 answer

Rotation animation issue on iPhone5S with cocos2d 2.0

I'm making a CCSprite rotating animation with cocosbuilder2.1, cocos2d 2.0. It works great on iPhone4S(iOS 8.0.2), iPhone5 Simulator, iPad 2 Simulator, iPad Retina Simulator, but has "jittering" problem on iPhone5S(iOS 7.1.1), iPhone5S Simulator,…
ArtS
  • 1,730
  • 1
  • 20
  • 43
3
votes
2 answers

Something like autolayout or constraints

I just started using SpriteBuilder and was wondering if something like “autolayout” (in a basic form) was possible for the apps? You see I have made this simple layout ( http://cl.ly/Szs3 ) containing a header (blue-ish) and body (red). Now what I…
Matthijn
  • 3,126
  • 9
  • 46
  • 69
3
votes
0 answers

Combine Cocos2D (CCAnimation) animation with CocosBuilder (CCBAnimation Manager)?

I'm integrating CocosBuilder 2.1 into an existing Cocos2D-iphone 2.0 game and having some trouble with animations. There are multiple characters in the game that have both repeating sprite-based animations and movement animations, the latter being…
arthurlewis
  • 412
  • 5
  • 11
3
votes
2 answers

What is the difference between 'Doc root var' and 'Owner var' in CocosBuilder

In CocosBuilder, there is a Code Connections section. At second line, it has three options: Don't Assign, Doc root var and Owner var. Sometimes, I got a error when I was selecting Owner var, but it works fine after I changed it to Doc root var. I…
pktangyue
  • 8,326
  • 9
  • 48
  • 71
2
votes
0 answers

Xcode error when compile cocosBuilder - Unkown type name ldiv_t in stdlib.h

Xcode 12.5.1 (Big Sur) has an error compiling cocosBuilder, but I can't find a reason. Other computers (Xcode 12.4 / Catalina) say no errors occur. source code is…
SangWoo
  • 21
  • 1
2
votes
1 answer

Making any given instance of a CCNode reactive to touch

So in my project I am using Cocos2D with CocosBuilder. I have assigned a few of my characters to be subclasses of CCNode with child CCSprites, etc. I want these CCNodes to be reactive to touch - for example, if I touch any of them, they'd play a…
Sam P
  • 453
  • 6
  • 19
2
votes
4 answers

Cocos2d-x and CocosBuilder multi-resolution for ios and android

I followed the instruction in the link below and I can get multi-resolution work on ios platform without cocosBuilder. http://www.cocos2d-x.org/projects/cocos2d-x/wiki/Multi_resolution_support When I use cocosbuilder ccbi file, the images displayed…
Emmy
  • 3,949
  • 5
  • 28
  • 30
1
vote
0 answers

Load CCBi files in Cocos Creator

I am a game developer and Develop Games using cocos2dx, I have just started to move on cocos creator for game development.I have used cocosbuilder binary animation files with cocos2dx but I am not able to use it with cocos creator as there is not…
1
vote
1 answer

Can't find the file "create-multi-platform-projects.py"

I downloaded the sdk (3.0a1). According to cocos2d-x guide, I have to run the create-multi-platform-projects.py command in order to create a project, but the script doesn't exist in the package I have downloaded. The guide says Note: These…
1
vote
1 answer

runAnimationsForSequenceNamed not working on CCNodes created at runtime

Currently I am working on a game with a scene, which has a board of tiles with letters. The tiles are being placed at runtime due to their positioning and 'letter value' on a dynamic board. CCScene (fullscreen) CCLayer (board) CCNodes…
Matthijn
  • 3,126
  • 9
  • 46
  • 69
1
vote
0 answers

how to use cocosbuilder when developing android using eclipse?

I am developing an app on Android platform based on cocos2d-x. I used cocosbuild to design the scene and published the ccbi file. But where should I put the ccbi file and how to use this in eclipse?
Boli-CS
  • 550
  • 1
  • 5
  • 14
1
vote
1 answer

what is CocosBuilder .ccbi file

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…
user1817517
  • 349
  • 1
  • 5
  • 16
1
vote
0 answers

Bug of cocos2d/cocosbuilder or not: Why timeline 0(sequenceId) run automatically?

Here are my tools: CocosBuilder-2.1/CCBReader-2.1/cocos2d-iphone-2.0 I created TestNode.ccb(root object is CCNode), in it I create 2 timeline,@"t0name"(2s long) and @"t1name"(2s long), root node is set to custom class TestNode I created…
Terry Z
  • 319
  • 2
  • 12
1
vote
2 answers

cocos2d Mac Shutdown and Startup at runtime

We are building a content editor that brings up a "cocos Player" in an NSWindow for test purposes. The user can test some content and then close the window. So I need to be able to shutdown cocos and re-start within the same app. Everything is…
poundev23
  • 807
  • 3
  • 11
  • 18
1
2 3 4