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

How to run several cocos builder animations in a sequence

I have multiple animations that created using cocosbuilder. They are in different time lines. I can run animation by using, [animationManager runAnimationsForSequenceNamed:@"Walking"]; How can i run second animation after first one ended. Is…
Susitha
  • 3,339
  • 5
  • 27
  • 41
0
votes
2 answers

The background image doesn't load on my phone but does for others

cocos2d: Couldn't create texture for file:OV_map_2560x2560.png in CCTextureCache Any idea why this happens to 2 of my phones and none of my friends' phones?
slek120
  • 1,115
  • 11
  • 13
0
votes
1 answer

cocos2d game scene wrong resolution

i'm new to the world of cocos2d, but I come from the java where I've a good experience .. As an introduction to the world of cocos2d I followed the following tutorial tha i…
ivoruJavaBoy
  • 1,307
  • 2
  • 19
  • 39
0
votes
1 answer

Compatible version of CCBReader with CocosBuilder

I'm currently using cocos2d iPhone 2.1 and i'm trying to use CCBReader and CocosBuilder to create an application. I've downloaded and using CocosBuilder 3.0 alpha 5 and the latest version of CCBReader from the master branch on git:…
user1179321
  • 797
  • 1
  • 10
  • 24
0
votes
1 answer

CocosBuilder Animations not running

I'm creating a simple animation with CocosBuilder that just moves a CCLayerColor from top right to bottom left and for some reason the animations will not perform. I have the timeline set to auto play and over a duration of 2 seconds. I have a class…
user1179321
  • 797
  • 1
  • 10
  • 24
0
votes
0 answers

Cocos2d project crashes when using distribution provisioning profile

I have used ccbi files for cocos2d animations for the app. - (void)pressedPlay:(id)sender { CCScene* songScene = [CCBReader sceneWithNodeGraphFromFile:@"SongScene.ccbi"]; [[CCDirector sharedDirector] replaceScene:songScene]; } This loads the…
Susitha
  • 3,339
  • 5
  • 27
  • 41
0
votes
1 answer

How to get the size of a CCSprite before it's initialized?

I'm writing a simple game using cocos2d with objective-c. In this game I give random positions to the enemy sprites. To avoid overlapping of different enemies, I write a check to make sure that the new sprite's CGRect with its random position is not…
ArtS
  • 43
  • 1
  • 6
0
votes
0 answers

What version of Cocosbuilder and Cocos2d-iphone should I choose?

Now it's Aug. 25th 2013. When I'm asking this question, the latest stable version of Cocos2d-iphone is 2.1, and the latest stable version of CocosBuilder is 2.1. I was using Cocos2d-2.0 with CocosBuilder 2.1, testing a tutorial project called…
ArtS
  • 1,730
  • 1
  • 20
  • 43
0
votes
2 answers

Cocos2d-x: should all the added children be removed MANUALLY when deallocing a CCNode object

The case is that I have a CCLayer created with cocosBuilder, and there are children added either programmatically or initially using the builder. I am not sure if the children would be released correctly if I do not remove all of them manually.
Sivda
  • 101
  • 6
0
votes
0 answers

An sssue about CocosBuilder timeline animation

I've created a CCLayer by using Cocosbuilder. There are two timeline animations called "MyAnim1" and "MyAnim2". None of them are auto-run. MyAnim1 is chained to MyAnim2. I'm using CCBAnimationManager to run the first animation. And it works and the…
Bagusflyer
  • 12,675
  • 21
  • 96
  • 179
0
votes
2 answers

Adding CCLayer over another CCLayer in cocos2d-x

I have a main CCLayer which is covering the start up screen, and then I added one more CCLayer and set it's width and height to my requirement. Target class of added layer is another class different from main CCLayer. So I want when user clicks on…
Zubair
  • 304
  • 1
  • 5
  • 19
0
votes
2 answers

Cocos2d-x with CocosBuilder error: "Get data from file(res/Teapot.png) failed!"

Errors I'm getting: Cocos2d: Get data from file(res/Teapot.png) failed! Cocos2d: ERROR: SpriteFrame NULL Not sure what's going on when using the image path from CocosBuilder. I've uploaded my iOS project on github, along with the CocosBuilder…
docchang
  • 1,115
  • 15
  • 32
0
votes
1 answer

Custom class for Sprite , Doc Root Var in Cocosbuilder and Cocos2dx

I have CCB file with CCNode like this (since i cannot post images), CCNode - Custom class (PanoController) -DrawerLayer - its only holder, of type CCLayer --rawImage - it is set as Doc root var with name : rawImage I want to make rawImage to be…
b00yan
  • 1
  • 1
0
votes
1 answer

Why are my sprite sheet's frames not visible in Cocos Builder?

I have created a sprite sheet with zwoptex. Then I just dragged the .plist and .png files to my Cocos Builder project. After this I wanted to take a sprite frame and set it to a sprite: But the sprite image is empty !! Af first I thought it was…
Ramy Al Zuhouri
  • 21,580
  • 26
  • 105
  • 187
0
votes
1 answer

Cocos Builder Landscalpe UI shows up Portrait in IOS 6.1 simulator

I have made UI using Cocos builder in landscape mode. UI appears in landscape mode when I run the project in iphoneOS 5.0 simulator. When I run the same xCode project, UI shows shows up in portrait when the device is actually in landscape mode. How…
Deep Arora
  • 1,900
  • 2
  • 24
  • 40