framework inspired by cocos2d-x