How To Make a Tile-Based Game with Cocos2D-x v.2.2 porting of Ray Wenderlich code for Cocos2D