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.
Setting up a Cocos2d HTML5 project is a remarkably easy process and here I’ll show you how to do it both for the web and the native versions. But first you will need to download the Cocos2d HTML5 framework, and a matching Cocos2d-x framework. I used version 2.1.1. It’s much easier to develop both web and native versions if the frameworks match. And even easier with this 2.1.1 version.