Questions tagged [spritebuilder]

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.

272 questions
0
votes
0 answers

When setting UITapGestureRecognizer delegate run time error occurs in main.m

This problem has been frustrating me for quite some hours. I basically have a game where I need to use UITapGestureRecognizer, but if there is a CCButton on screen, this tap gesture overrides a tap on the button. In order to get past this problem, I…
spaderdabomb
  • 942
  • 12
  • 28
0
votes
1 answer

Re-use Animated CCSprite

I made a new .ccb file on SpriteBuilder where I created an animated CCSprite with physicsEnabled and a few physics properties. At a certain point I would like to draw the animated CCSprite on a menu. I don't want to make a copy of the whole .ccb…
João Abrantes
  • 4,772
  • 4
  • 35
  • 71
0
votes
1 answer

How would you build for Mac with Cocos2d-v3

Ideally I would like to have multiple targets in my XCode project to build for Mac and iOS. I am using SpriteBuilder, so I am also interested in compatibility with thing such as CCBReader. I want to build it for Mac so I would be able to debug my…
Tibor Udvari
  • 2,932
  • 3
  • 23
  • 39
0
votes
0 answers

Returning from Admob Interstitial gives black screen

I'm using Apportable Indie for adding Admob to my game (made with SpriteBuilder). Everything works (Banner is showing and Interstitial) but when I click the Interstitial and return to the game it shows a black screen and no response. I've used the…
0
votes
0 answers

CCNode -(void) update not getting called on scene after transition

After pushing another scene on the stack then popping it off, the original scene does not get update calls, if I used a transition when pushing the other scene on. Basically this - (void)update:(CCTime)delta does not get called for the scene, or…
David John
  • 496
  • 1
  • 5
  • 17
0
votes
1 answer

Game Center not dismissing?

Im trying to dismiss Game Center when the user is pressing Done, why is this not working?? I've looked at the Apple docs and Googled it ever way I can think of, what is wrong? GCHelper.h #import #import…
Jason
  • 650
  • 2
  • 10
  • 33
0
votes
1 answer

How do you initialise a CCSprite in Xcode from a class created in SpriteBuilder?

I've created a CCB file as a sprite: MySprite.ccb, with its Custom class set to MySprite. If I don't want to place it into a layer in SpriteBuilder, but rather initialise objects from it and add them to the scene in Xcode, how do I do that? What…
Graham Nicol
  • 264
  • 2
  • 14
0
votes
1 answer

Accessing variables from another class when importing a .ccbi file

I know this topic is covered in a hundred posts here, but I'm having a lot of trouble with this particular instance and cannot figure it out. Basically, I'm using Spritebuilder to import sprites/nodes into my game. I import a sprite of some…
spaderdabomb
  • 942
  • 12
  • 28
0
votes
1 answer

Cocos2D SpriteBuilder simple car with wheels

I'm currently trying out a few things. I already did this tutorial: https://www.makegameswith.us/tutorials/getting-started-with-spritebuilder/ However I'm a little stuck now. I created a CCNode in SpriteBuilder and added 3 images. carbody.png and 2…
Akaino
  • 1,025
  • 6
  • 23
0
votes
1 answer

Spritebuilder, XCode 5.1 and Device Build Errors

I just updated my Cocos2D to the newest version. I am using xcode 5.1 and am also using Spritebuilder. After updating my xcode I have been having a slew of errors and problems with my application. It's quite frustrating, because before I updated, I…
Jude Michael Murphy
  • 1,198
  • 2
  • 12
  • 23
0
votes
1 answer

I need helping using iAds in my application, How do I put iAds in while using sprite builder?

I need helping using iAds in my application. I currently am not using any storyboards. I am using Sprite Builder for my UI. I attached an image to show all the different file name I have. The "iAdViewController.h & .m" files are just example codes I…
0
votes
1 answer

How to build Physics Body using Different sprites in spritebuilder

I just started using SpriteBuilder with cocos2d - v3. It looks promising and a good tool to have. But my issue is that I want to create a man like character with all body parts as different sprites and put them into a Physics body using joints. I…
ganesh
  • 166
  • 3
  • 10
0
votes
2 answers

looping a sprite vertically objective C sprite builder

Note: for this I am using a program called spritebuilder, which allows me to create a game with less code than would normally be needed. If you know a solution that's just all code, then by all means feel free to share it :) Also, for this question,…
user3413380
  • 75
  • 11
0
votes
1 answer

How to edit Cocos2d 3.x sprite builder ccb file?

I need to know how to open a ccb file in Sprite Builder for Cocos2d 3.x This is attached a screenshot for my file. https://i.stack.imgur.com/2gW8z.png
ameguid12
  • 13
  • 3
0
votes
1 answer

iOS - Change CCFile Sprite Image Programmatically

I'm using Cocoa2Ds to make a game for iOS. I know it's probably simple, but is there a way to change a CCFile's sprite images programmatically? I created a hero sprite object and then dragged it into the main scene utilizing SpriteBuilder.…
Jude Michael Murphy
  • 1,198
  • 2
  • 12
  • 23