cocos auto seed random number generator