正在获取源¶
下载godot源代码¶
之前 getting into the SCons build system 编译godot时,需要实际下载godot源代码。
源代码在上可用 GitHub 虽然您可以通过网站手动下载,但通常您希望通过 git
版本控制系统。
如果你不太了解 git
yet, there are a great number of tutorials 在各种网站上提供。
一般来说,您需要安装 git
和/或各种GUI客户机之一。
然后,获取godot源代码的最新开发版本(不稳定 master
分支),您可以使用 git clone
.
如果您正在使用 git
命令行客户机,这是通过在终端中输入以下内容来完成的:
git clone https://github.com/godotengine/godot.git
对于任何稳定释放,请访问 release page 然后单击所需发布的链接。然后,您可以从页面上的下载链接下载并提取源代码。
除此之外,一般也有分支机构 master
对于每个主要版本。
下载godot源代码后,您可以 continue to compiling Godot .