Introduction to CocosBuilder

Discussion of the official tutorials published on raywenderlich.com. Please only discuss the official tutorials here - for general questions, use the General Discussion forum instead.

Introduction to CocosBuilder

Postby rwenderlich » Thu Dec 20, 2012 11:00 am

This is the official thread to discuss the following blog post: Introduction to CocosBuilder
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ray Wenderlich
Blog: http://www.raywenderlich.com
Twitter: http://twitter.com/rwenderlich
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
User avatar
rwenderlich
Team Member
Site Admin
 
Posts: 2211
Joined: Thu Dec 23, 2010 4:14 pm
Has thanked: 28 times
Been thanked: 358 times

Re: Introduction to CocosBuilder

Postby cls1976 » Fri Dec 21, 2012 8:07 am

HI,
the resource download link is broken.
cls1976
Subscriber since May 30, 2014
n00b
 
Posts: 3
Joined: Tue Dec 13, 2011 7:27 am
Has thanked: 0 time
Been thanked: 0 time

Re: Introduction to CocosBuilder

Postby m_for » Fri Dec 21, 2012 8:12 am

Trying to follow along but I have run into some problems. First, the http://cdn3.raywenderlich.com/wp-conten ... ources.zip file is not found.

Second, and here is where my progress has been blocked, is this instruction:
Next, modify application: didFinishLaunchingWithOptions: by finding the line where the IntroLayer is initialized and pushed to the CCDirector’s scene stack, and replacing it with the following:

[director_ pushScene: [CCBReader sceneWithNodeGraphFromFile:@"MainMenuScene.ccbi"]];


There isn't any IntroLayer being initialized or pushed in the didFinishLaunchingWithOptions that I can see. Maybe I don't know what I'm looking for... searching the AppDelegate.m file for "pushScene" and "sceneWithNodeGraphFromFile" found no matches.
m_for
Baby Hacker
 
Posts: 8
Joined: Fri Feb 24, 2012 9:50 am
Has thanked: 0 time
Been thanked: 0 time

Re: Introduction to CocosBuilder

Postby rwenderlich » Fri Dec 21, 2012 4:07 pm

Whoops - thanks guys, I fixed the download links, they should work OK now.

Also, it appears there was a minor change to the latest Cocos2D 2.X templates since the tutorial was written, so I have fixed the instructions to clarify that part. I also went through the entire tutorial again as a reader to make sure everything works 100%, and made a few tweaks along the way.

Let me know if you have any other questions, and hope you enjoy the tutorial!
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ray Wenderlich
Blog: http://www.raywenderlich.com
Twitter: http://twitter.com/rwenderlich
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
User avatar
rwenderlich
Team Member
Site Admin
 
Posts: 2211
Joined: Thu Dec 23, 2010 4:14 pm
Has thanked: 28 times
Been thanked: 358 times

Re: Introduction to CocosBuilder

Postby grinev » Sun Dec 23, 2012 5:08 pm

Hi. I've just downloaded full CatJump project, built it successful. But it throws error in runtime.
"Invalid spriteFrame for sprite" in next line:
Top of stack:
[director_ pushScene: [CCBReader sceneWithNodeGraphFromFile:@"MainMenuScene.ccbi"]];

Please, fix the trouble.
grinev
n00b
 
Posts: 1
Joined: Sun Dec 23, 2012 5:03 pm
Has thanked: 0 time
Been thanked: 0 time

Re: Introduction to CocosBuilder

Postby rwenderlich » Mon Dec 24, 2012 5:28 pm

I just replaced the final project download with the one I built when I went through the tutorial - give that a shot.
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
Ray Wenderlich
Blog: http://www.raywenderlich.com
Twitter: http://twitter.com/rwenderlich
- - - - - - - - - - - - - - - - - - - - - - - - - - - -
User avatar
rwenderlich
Team Member
Site Admin
 
Posts: 2211
Joined: Thu Dec 23, 2010 4:14 pm
Has thanked: 28 times
Been thanked: 358 times

Re: Introduction to CocosBuilder

Postby cls1976 » Wed Dec 26, 2012 2:05 pm

for those cannot publish the ccbi files, please check the Publish settings from File, the ios check box must be checked.

Thanks
cls1976
Subscriber since May 30, 2014
n00b
 
Posts: 3
Joined: Tue Dec 13, 2011 7:27 am
Has thanked: 0 time
Been thanked: 0 time

Re: Introduction to CocosBuilder

Postby qball13z » Wed Dec 26, 2012 8:26 pm

Wonderful tutorial, thank you!
qball13z
Hacker
 
Posts: 18
Joined: Mon Oct 31, 2011 2:56 am
Has thanked: 3 times
Been thanked: 0 time

Re: Introduction to CocosBuilder

Postby softempire » Wed Jan 02, 2013 7:11 am

Great! Thanks
softempire
n00b
 
Posts: 1
Joined: Tue Dec 04, 2012 6:16 am
Has thanked: 0 time
Been thanked: 0 time

Re: Introduction to CocosBuilder

Postby iKonrad » Thu Jan 10, 2013 1:58 am

Thanks, amazing tut. Will the CocosBuilder work with cocos2d 1.3? Is not, is there an easy workaround to make it working?
iKonrad
n00b
 
Posts: 2
Joined: Sat Jun 23, 2012 3:47 pm
Has thanked: 0 time
Been thanked: 0 time

Next

Return to Official Tutorials

Who is online

Users browsing this forum: No registered users and 4 guests