So…much…Cocos2D coolness!!

I’m a few hours away from releasing the first part of Session 5 in my iOS and Cocos2d tutorial series, so for you true believers in this awesome coding language, there’s even more on the horizon. If you haven’t already seen it, check out Cocos2D-Html5 (alpha). Here’s the first news on it.  But even cooler, here’s a demo game playing in the browser using Cocos2D-Html5…

So what exactly is  Cocos2D-Html5? Well here’s what the official site says…

“It is a HTML5 version of Cocos2d-x project. Our focus for Cocos2d-html5 development is around making Cocos2d cross platforms between browsers and native application. On top of the framework provided by Cocos2d-html5, games can be written in Javascript, using API that is COMPLETELY COMPATIBLE with that of Cocos2d-iPhone, Cocos2d-x javascript binding. Cocos2d-html5 project can be easily run on browsers which supports HTML5. Cocos2d-html5 also supports running game code in “Cocos2d Javascript binding” without or with little modification.”

Cool, eh. Feel like jumping in and making a browser game??  Of course you don’t! Browser games are soooooo 10 years ago.. But the good thing about this is IF you made a great game for the iPhone, then you’re a weekend’s worth of work away from taking a few levels from the iPhone version and porting it over to Cocos2D-X and showing off some gameplay in the browser.

One of my fantastic students take the Angry Ninja’s Starter Kit and ported it over to Cocos2D-X and got it running on his Kindle. He showed me some of the code changes that were required,  going from Objective-C to C++ , which at first glance I was like “uhhh, looks like it took a while”. But he said once you get the hang of it, it’s not bad. And well worth it.  Here’s a few mugshots of proof that he got it running… =)


One thought on “So…much…Cocos2D coolness!!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s