cocos2dx 3.0 implementation for space game