Begin port to Cocos2d-x
Add collision detection with game border