编译Godot Engine
1.下载安装所需文件
安装Python - https://www.python.org/downloads/
安装scons - http://scons.org/pages/download.html(命令:python setup.py install)
检查python和scons是否安装好
python -v和scons -v
安装Git - https://git-scm.com/downloads
安装Visual Studio(或者构建工具,相同的链接) - https://www.visualstudio.com/downloads/
安装C++桌面
Godot Github页面 - https://github.com/godotengine/godot
下载Godot源码
命令:Git clone https://github.com/godotengine/godot
2.构建
在源码处打开命令行,使用命令
scons -j12 platform=windows
12改为CPU线程数
想构建VS项目
命令为
参考:
https://www.bilibili.com/video/BV1eT4y1J7Y7
https://www.bilibili.com/video/BV1fQ4y1A7B3