Getting Started. Download the latest version of Cocos2d-x at www.cocos2d-x.org/download; this tutorial used version 3.5. Place the downloaded file wheres you'd like to store your Cocos2d-x installation, such as in your home directory, then unzip it. This sets up the necessary shell environment variables .