文章

Cocos Creator Windows环境源码编译

Cocos Creator Windows环境源码编译

cocos-engine

>> URL

engine-native

>> URL

Prerequisite

  • NVM Node 版本管理器(通常称为 nvm)
1
2
3
nvm list available
nvm install 10.20.1
nvm use 10.20.1
  • gulp-cli >> URL

    1
    
    npm install --global gulp-cli
    
  • VS2017 >> URL

    • Windows SDK 版本8.1

Install

1
2
3
cd <cc_src_path>
# download & build engine dependencies
npm install
1
2
3
cd cocos-engine/native
npm install
gulp init
  • npm\gulp.ps1,因为在此系统上禁止运行脚本。有关详细信息,请参阅 https:/go.microsoft.com/fwlink/?LinkID=135170

    1
    
    set-executionpolicy remotesigned
    

Chrome DevTool

devtools://devtools/bundled/js_app.html?v8only=true&ws=192.168.3.56:6086/00010002-0003-4004-8005-000600070008

本文由作者按照 CC BY 4.0 进行授权