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
Replacing Occurrences of Strings in NSMutableArray Only Working Once
I am confounded, and perhaps have missed something simple, but I can't find it.
I'll do this problem in theoretical, because I have done a test and still cannot get it to work with stripped down code. I am using SpriteBuilder, but that shouldn't be…

Misha Stone
- 631
- 7
- 22
1
vote
0 answers
Android plugin for SpriteBuilder crashes Xcode 6.4
After installing the latest Android Community Plugin, my Xcode 6.4 project created from SpriteBuilder crashes with the following:
No Xcode.DVTFoundation.ExtendedPlatformInfo extension provided for
platform 'com.apportable.platform.android'
If I…

vikzilla
- 3,998
- 6
- 36
- 57
1
vote
0 answers
CCScrollView Throwing Error and Causing Crash
Currently I am programmatically creating a CCScrollView with this code:
func didLoadFromCCB() {
self.userInteractionEnabled = true
let contentNode = scrolling //scrolling is just a CCNode
let scrollView = CCScrollView(contentNode:…

Kendel
- 1,698
- 2
- 17
- 33
1
vote
2 answers
NSMutableArray Interaction Troubles With Collisions
I am having trouble getting objects added to my NSMutableArray to log properly (which definitely means they won't process any of the appropriate functions correctly) with Spritebuilder [version 1.4.9, from the Apple App Store]. I am creating several…

Misha Stone
- 631
- 7
- 22
1
vote
0 answers
CCSprite showing weird debug?
Has anyone seen this before?
Sprite is an animation created in SpriteBuilder (1.4.9) which is loaded onto the screen and positioned in code.
myFoodAnim = (CCSprite*)[CCBReader load:@"foodAnim64"];
Occasionally I get text overlayed as in the pictures…

cAlpha
- 11
- 2
1
vote
2 answers
Change default app icon and loading screen in SpriteBuilder
I'm making a game with SpriteBuilder and cocos2d in Objective-C and don't know how to change the default loading image an app icons in SpriteBuilder.
Does anyone know how to do that

FlyBee
- 13
- 4
1
vote
1 answer
How to call the -(void)update:(CCTime)delta method in Objective-C
Is there a way to call the -(void)update:(CCTime)delta method in objective-c? I know that (using sprite builder) I can create a scene and then have it be attached to a custom class so that when the scene is loaded through the CCBReader, the class's…

Daniela Carrasco
- 191
- 9
1
vote
0 answers
SpriteBuilder Android Building Error : Package APK Tool Error
I'm using SpriteBuilder to create a game. The game runs fine in any iOS device, but when I try to build for Android, I get an error "Package APK Tool Error".
SB Version: 1.4.9
SB Revision: eea568a5c7
XCode Version 6.0.1 (6A317)
The Error message…

Darshan
- 41
- 3
1
vote
1 answer
Failed to set selector block for CCButton on a Layer
So I'm using sprite builder, objective-c and Xcode.
In sprite builder I created a layer that looks like this:
and then in code, I add it to the content node of the scene where I want it to appear. I wanted to give it a sort of "pop-up" window…

Daniela Carrasco
- 191
- 9
1
vote
1 answer
Whats the best structure to use when you have many characters that all have the same behavior and animation but different Sprite images?
I am making a game for my psychology lab that has different scenes (jungle, sea, desert, moon, dungeon ect.) but the character behavior for each scene is essentially the same. Is it possible to write a class that will have all of the essential…

Daniela Carrasco
- 191
- 9
1
vote
1 answer
Loop an animation programatically in Cocos2d, like chaining the animation to itself in Spritebuilder
Using Spritebuilder, I have chained timelines to themselves to create a loop (eg- for walking), but in some cases I would like to use Timelines that are not chained, and loop them programatically. I believe I may be able to use CCActionSequence to…

Gene Myers
- 1,230
- 1
- 14
- 31
1
vote
1 answer
How do I, in swift, use ccPhysicsCollisionBegin to find the collision between a specific type of object and a singular instance of another object?
For example, let's say I have a block being hit with several balls. How would I make it so the function gets run when any ball hits the block? (as opposed to a singular ball hitting the block)
Essentially, I want this:
func…

Evan Conrad
- 3,993
- 4
- 28
- 46
1
vote
1 answer
Cocos2d cannot add sprite when calling its method from other class
I am trying to make a single game that when you touch the star image it will load an star sprite from Star class. My star image has its own class (StarImage) which calls my Level class StarLauncher method when thouched using level class method.…

Shahins
- 11
- 2
1
vote
0 answers
Cocos2d/Spritebuilder v3 laggy collision
I'm throwing a lot of objects across the screen (1 beachball every 0.1s) and swiping them toward a box, the balls are recycled after they leave the screen or hit the ball. The problem i encountered is that when multiple balls hit the box, frame…
user2038460
1
vote
1 answer
Spritebuilder CCTextField how to set placeholder and color?
I want to ask how to set CCTextField placeholder and color.
I know it is easy to create a text field on spritebuilder, but it cannot set the text color and placeholder like UITextField.

HipSze
- 19
- 4