SpriteBuilder is a free and open source visual game editor for building iOS, Android and OS X apps. It comes bundled with the Objective-C & Swift version of Cocos2D, also free and open source. The editor runs on OS X and its development is sponsored by Apportable.
Questions tagged [spritebuilder]
272 questions
1
vote
1 answer
CCClippingNode on Android not working
I started a new iOS project recently. I'd like to support also Android so I choose SpriteBuilder with newest cocos2d-iphone (cocos2d-swift).
I use CCClippingNode for clipping contents. It needs 24bit depth buffer and 8 bit stencil buffer, so I…

Gergely
- 3,025
- 2
- 14
- 13
1
vote
0 answers
Using collision groups with a large amount of similar objects - COCOS 2d v3 (Chipmunk)
I have had a good look at other similar questions here but cant seem to find one that answers my question. The answer may be simple in which case please excuse my ignorance..
I have a game with a large amount of balls (over 100). These are created…

Gregory Dale
- 11
- 1
1
vote
0 answers
GPUImage giving multiple GL_INVALID_ errors as soon as any GPUImage class is used
I'm trying to integrate GPUImage in a cocos2d-swift (SpriteBuilder) project so that I can use the video filters within my app. I got GPUImage working fine in the samples so I moved on and added the framework and followed the README to get GPUImage…

Richard Roylance
- 58
- 7
1
vote
1 answer
Published-iOS file published by SpriteBuilder didn't synchronize over bitBucket
I'm using SpriteBuilder to publish cocos2d V3 project. And share the project file over SourceTree and BitBucket.
Almost Every files are synchronized except for Published-iOS file.
It all solved after sending the missing file to my team crew and he…

ika_tarou
- 13
- 3
1
vote
1 answer
Cannot add localization in Xcode - Spritebuilder project
I have finished my first game project with Spritebuilder and its time for localisation. But, when I try to add a new localisation, even though I follow all the correct steps, no language is added in Xcode and no localised project folder are created…

Tassos Voulgaris
- 878
- 1
- 9
- 21
1
vote
1 answer
How to move a sprite with dynamic physics body with constant speed
Until lately I've been just changing the x coordinate of my sprite on each update and I was happy with it. But yesterday when being in the debugDraw mode, I found out that after certain speed physics body wouldn't align correctly with the sprite…

Mikayil Abdullayev
- 12,117
- 26
- 122
- 206
1
vote
0 answers
COCOS2D & SpriteBuilder custom class for game object not working
I try to make a Code Connection with my game object (which is located in Enemy.ccb) in SpriteBuilder.
It works perfect when I just load my object and add it to the stage.
CCNode *enemy = [CCBReader load:@"Enemy"];
[self…

headione
- 106
- 1
- 4
1
vote
1 answer
Spritebuilder project with wrong node positions in xcode 6
I've been using spritebuilder to play around with a few design ideas. I recently upgraded xcode to xcode 6 and my node positions have ended up being a bit screwy. I was wondering if anyone else is having these issues.
What I get on spritebuilder vs…

Reza Shirazian
- 2,303
- 1
- 22
- 30
1
vote
1 answer
use of undeclared identifier 'SKSpriteNode'
I'm trying to define an SKSprite Node SKSpriteNode *ball but I'm getting this message "use of undeclared identifier 'SKSpriteNode'"
I'm building my game with the help of SpriteBuilder Cocos2d and chipmunk physics using objective-C, my deployment…

shadramon
- 59
- 8
1
vote
2 answers
Please ! I need help on PhysicsBody in SpriteBuilder
That is the error message from Xcode:
-[CCNode setupPhysicsBody:] : Failed to find a parent CCPhysicsNode for this
CCPhysicsBody. The CCPhysicsBody requires it be the child of a CCPhysicsNode when
onEnter is called.

Canh Tran
- 298
- 1
- 14
1
vote
2 answers
Passing Level parameter when transition to next Scene?
I'm trying to figure out the best way to pass a level parameter between Scenes using Spritebuilder and Cocos2D in Xcode.
I'm using the standard code below to transition between scenes.
[[CCDirector sharedDirector] replaceScene:[CCBReader…

SamoanProgrammer
- 954
- 4
- 13
- 27
1
vote
0 answers
Calculate force to move by given distance chipmunk
How to apply a impulse that make ball fly given distance in Cocos2d?

anonimek
- 11
- 1
1
vote
1 answer
Disabling CCButton in Objective-C
I have a CCButton declared in Status.m - it is created via a code connection in SpriteBuilder:
@implementation Status
{
CCButton *_button;
}
The method block is called when the button is pressed -- in this method I'd like to disable further…

H K
- 1,215
- 2
- 16
- 29
1
vote
0 answers
CCActionFollow will not follow the target object and scroll layer
I have a ball object that falls straight down a level made in SpriteBuilder as a layer. The level is added to the gameplay scene, which has a ccnode (_levelNode) as a child of the physics node. However, when the game runs it either doesn't scroll,…

Ninwinz
- 50
- 6
1
vote
1 answer
Magnet effect in Cocos2D
I am trying to create a game that follows the basic principles of electric magnetic field. This involves placing objects on the map that either attracts or repels depending on the charge of the target object. It is 2D and I am wondering if is there…

user3813552
- 23
- 3