Moon-Herder WebGL: with Cocos2d HTML5

one more for the road

A quick update. I downloaded the latest Cocos2d-HTML5 version, with the fixes for missing particle textures, and you can now run the same JavaScript code for canvas and/or WebGL rendering.

You can download the source for this version on github.

You can run the game here.

View

The Doctor and EaselJS

from flash to html5

I‘ve decided to take a very simple application done in Flash and transform it in JavaScript for Canvas, using an open source framework, trying to use as many features typically associated with Flash as I could cram in a tiny bit of code, and see how the framework handled them (mainly: events, bitmap data manipulation, the display list and masks).

View

Cocos2d-x: the Book

now on sale

Yep, I wrote a book. It’s called Cocos2d-x by Example Beginner’s Guide, and as the name implies, it covers the development of games with the C++ based framework Cocos2d-x. You’ve probably seen a few tutorials on this blog related to Cocos2d-x and C++, but now, there’s a whole book of them!

View

Frogger in Lua

with moai and shilke2d

Remember the Frogger series of tutorials where the same code was translated to different Frameworks? Well, there is a new version to be added to the list, this time courtesy of Luca Ferrara, and it’s a Lua version.

View

Cocos2d HTML5: The Syntax

c++ and javascript

The syntax differences between Cocos2d-x (C++) and Cocos2d HTML5 (JavaScript) are surprisingly small. In fact you could do away with most of them by using Find and Replace: just look for the CC prefix and replace it with cc. (that is “cc” and a dot).

View