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
0
votes
1 answer
Can we use Cocos2d-x V3 with Spritebuilder?
Cocos2d-x v3. i wants to design my game screen. is it possible to use or any other tool provide to design screen?
Thanks

Romit M.
- 898
- 11
- 28
0
votes
1 answer
Unable to instantiate the UIApplication subclass instance
i'm building a SpriteBuilder project and getting the error of:
" * Assertion failure in int UIApplicationMain(int, char **, NSString *, NSString *)(), /SourceCache/UIKit_Sim/UIKit-2903.23/UIApplication.m:2380
Unable to instantiate the UIApplication…

user3623891
- 45
- 7
0
votes
0 answers
Buttons on a CCScrollView
I have a upgradeShop.ccb file that is a layer and it has buttons on it (it's a shop to buy upgrades). I have a CCScrollView in my MainScene that I am loading my ugpradeShop.ccb. Everything works fine, except the buttons. When I click a button on the…

Albert K
- 25
- 7
0
votes
2 answers
Rotate while jumping - iOS game
I am making an iOS game that a box will rotate while jumping (like this: http://www.lessmilk.com/games/3/). I have tried many ways and one of them seems acceptable:
When touch began, I run this code:
[_box.physicsBody applyImpulse:ccp(0,…

Trung Tran
- 231
- 1
- 3
- 11
0
votes
0 answers
Using switch case global variable
In SpriteBuilder, i want to use a global variable to change the characteristic of Sprite. Below is a simplified version of the code:
In Grid.h
#import "CCNodeColor.h"
extern int a;
@interface Grid : CCNodeColor
@property (nonatomic, assign)…

user3623891
- 45
- 7
0
votes
2 answers
Custom ttf fonts in SpriteBuilder/Cocos2d-iPhone 3
Did anyone get custom ttf fonts in SpriteBuilder/Cocos2d-iPhone 3 working?
Ie: For a CCLabelTTF in SpriteBuilder, we can select a ttf file added to the SP project. However after publishing, the font does not display. Do we need to add the font in…

Jonny
- 15,955
- 18
- 111
- 232
0
votes
1 answer
cocos2d flappy bird demo
I am working with the flappy bird demo trying different things just to get to "know each other".
Going through the demo, I've managed to change the direction of the game to vertical scroll moving upwards.
Having reversed the CGFloat to negative…

user2800989
- 69
- 7
0
votes
0 answers
SpriteBuilder and parallax
Is there a way to get parallax going in the wysiwyg SpriteBuilder?
I am assuming for now that there is no way to do it, except change things around in code: define for instance a Level as decendant of CCParallaxNode instead of CCNode, then…

Jonny
- 15,955
- 18
- 111
- 232
0
votes
1 answer
Apportable Errors With iOS app conversion
I am running the command "apportable load" in the directory of my x-code project for an app that is working on the iOS simulator. I have x-code 5.0.2 and when I try to update apportable it says it is the newest version.
I am sorry for the extent of…

mattk
- 333
- 3
- 11
0
votes
0 answers
Spritebuilder "Couldn't find file:ccbResources/apple.jpg"
im using spritebuilder to build a game. ive created a new scene called GameOverScene. in the scene i have 2 CCButtons, a CCLabel called highscore, a CCNodeGradient and an image called apple. When i run my project in xcode everything appears apart…

claustro
- 13
- 5
0
votes
1 answer
Spritebuilder "unrecognized selector sent to instance"
im trying to create a gameover view in my sprite builder project. i have 2 problems. firstly when i copy an image to the Gameover.ccb xcode throws an error saying it cannot find that image.I dont understand this because the file is located exactly…

claustro
- 13
- 5
0
votes
2 answers
Collision detection with sprites from an array in Cocos2D
i'm pretty new to Objective-C and Cocos2D so go easy, I know this is basic stuff.
I'm using an array to randomly place 4 gold coin sprites on the screen, and i'm using another sprite (a dragon) to fly around and collect the coins. Obviously, I want…

Dave440
- 57
- 10
0
votes
1 answer
Showing a button when all 'enemy' ccsprites have been removed from scene
I am using SpriteBuilder to make a game. The objective is to destroy some CCSprites. I have 3 sprites on screen and are destroyed by another sprite, so the code must have something to do with when there are no more 'enemy' sprites remaining a next…

user2976917
- 66
- 8
0
votes
1 answer
Insert CCNode with sprite and physic inside the scene
I am actually learning SpriteBuilder which is really a great tool for me, but I am facing a trouble concerning including a CCNode inside my scene (programmatically way).
So, I have a scene "Gameplay" where my characters are implemented from other…

sebastien FCT
- 630
- 1
- 13
- 28
0
votes
1 answer
SpriteBuilder: Repositioning (etc) sprite across all keyframes?
I'm using SpriteBuilder and cocos2d-iphone v3 to make an app, and I'm using the timeline to animate some sprites, but I can't figure out if there's a way to do this or not. If I've added a few keyframes for a sprite, and now I want to reposition the…

Wernzy
- 1,088
- 8
- 22