test cocos2d-x sprite function