I used spritebuilder 1.3.5 for create this new project.
In my old project when in onenter of a Scene I print the contentSizeInPoints it return 640x480 because it load the scene from CCBReader.
In this new project, made with spritebuilder 1.3.5 and with cocos2d v3.3.0 when in my onenter method print the contentSizeInPoints it return 0x0 ...
yet something has changed?
Anyone have the same problem?
For load the Scene from Spritebuilder i didi this:
CCScene *scene = (CCScene*) [CCBReader load:@"Scenes/MainScene"];
[[CCDirector sharedDirector] replaceScene:scene withTransition:[CCTransition transitionMoveInWithDirection:CCTransitionDirectionUp duration:kTransitionDuration]];
and in the MainScene this:
//disable multiple touch
self.multipleTouchEnabled = NO;
self.userInteractionEnabled = YES;
CCLOG(@"Size: %f-%f", self.contentSizeInPoints.width, self.contentSizeInPoints.height);
-(void)touchBegan:(CCTouch *)touch withEvent:(CCTouchEvent *)event
TouchBegan never called ant the Size are 0x0...