A 2D side-scrolling ARPG game based on cocos2d-x