Example of a small game created with Cocos2D-x and the JavaScript bindings