FAQ Database Discussion Community


Why is my Code Block Instance Variable not Initializing and printing out a “NSGlobalBlock”?

ios,objective-c,uitextfield,spritebuilder
I am using sprite builder and Xcode. Does anyone see where I am going wrong with my code block "whereToNext" property? Im trying to use it to navigate between scenes but for some reason it isn't going into the initialization code in -(void)patterns even though it is going into the...

CCPhysicsCollisionDelegate not called

cocos2d-iphone,spritebuilder
I'm stuck for 2 days now on collision detection. I tried every solution suggested in the forums, and the collision delegate methods are still not being called called. I'm using cocos2d v3.4 bundled with SpriteBuilder v1.4.7. Here is my simple test: smallBox and bigBox are both children of _physicsNode 1-...

Tilemap displaying incorrectly on iOS using Cocos2D

ios,cocos2d-iphone,spritebuilder,tiled
I used Tiled to create a tilemap to use in one of my games for iOS; however, it displays incorrectly when I run it. I've tried making multiple different .tmx files with different file sizes for phone, phonehd, tablet, and tablethd. The tilemap is base64 zlib compressed, but I've also...

Cocos2D v3 CCTableView not scrolling

ios,cocos2d-iphone,spritebuilder,ccscrollview
I am trying to use a CCTableView in my game. You should be able to scroll through a list of names. I am able to click on a cell and log the which cell was clicked. However when I try to scroll there is no movement. @interface WSMPlayerCandidateSubMenu(){ CCNodeColor *_candidateSubMenuSprite;...