Cocos Creator game project environment construction and start

background

I got a set of game source code written by cocos creator2.4.2, which needs to be started locally to check whether it meets the expected requirements. So it is necessary to build the Cocos Creator environment locally, because I have not touched it before. After some searching, the environment is finally set up. For the sake of reminder, write a blog post to record it

build process

1. Download Cocos Dashboard

Cocos official website: https://www.cocos.com/

Download page: https://www.cocos.com/creator-download

2. Install Cocos Dashboard

Double-click to open CocosDashboard-v1.2.5-win-011719.exe

During the installation process, it is recommended to install Visual Studio 2017, just install it directly

3. Import project

When Cocos Dashboard opens, you need to log in to your account. You can go to the official website to register an account.

Open Cocos Dashboard, click Add, select the folder where the game source code is located, and import it. Folder select the parent directory of assets

4. Download Cocos Creator

Download according to the development version of the game, for example, I developed it using version 2.4.2

The picture is just an example, just select the corresponding version to download

5. Start the game

Remark

It is simply to start the game that others have developed. As for how to develop and deploy it to the production environment, it is not within the scope of this blog post. In addition, the environment construction is manually explored by yourself, and it is really usable.

Guess you like

Origin blog.csdn.net/xiaohuaidan007/article/details/128827369