Skip to content
Alexander Gordeyko edited this page Nov 20, 2020 · 3 revisions
  1. Install actual versions of Cocos Creator, Haxe, Pony.

  2. Create a Cocos Creator project.

Step 01. Create CC Project

  1. Open a terminal in the project directory (cd PATH). Create a Pony CC project (pony create cc).

Step 02. cd and create

  1. Open the project in VS Code.

Step 03. Open in vscode

  1. Enable all recommended extensions global or only current workspace (shift + cmd + p).

Step 04a. Show recommended ext

Step 04b. Enable all recommended ext

  1. Allow automatic tasks in the folder (shift + cmd + p).

Step 05a. Manage autotasks

Step 05b. Allow autotasks

  1. Run server task or restart VS Code.

Step 06a. Run task

Step 06b. Server

  1. Write test code and build (shift + cmd + b).

Step 07. Write test code and build

  1. Add main.js script to the scene.

Step 08. Add main script

  1. Press Start to simulate. Check console.

Step 09. Start simulate