Attention: Here be dragons

This is the latest (unstable) version of this documentation, which may document features not available in or compatible with released stable versions of Godot.

소스 얻기

Godot 소스 코드 다운로드

SCons 빌드 시스템에 들어가서 Godot를 컴파일하기 전에 실제로 Godot 소스 코드를 다운로드해야 합니다.

소스 코드는 GitHub에서 사용할 수 있으며 웹사이트를 통해 수동으로 다운로드할 수도 있지만 일반적으로 git 버전 제어 시스템을 통해 다운로드하는 것이 좋습니다.

If you are compiling in order to make contributions or pull requests, you should follow the instructions from the Pull request workflow page.

아직 git에 대해 잘 모른다면 다양한 웹사이트에서 수많은 튜토리얼을 이용할 수 있습니다.

일반적으로 git 및/또는 다양한 GUI 클라이언트 중 하나를 설치해야 합니다.

그 후, Godot 소스 코드의 최신 개발 버전(불안정한 master 브랜치)을 얻으려면 git clone를 사용할 수 있습니다.

git 명령줄 클라이언트를 사용하는 경우 터미널에 다음을 입력하면 됩니다.

git clone https://github.com/godotengine/godot.git
# You can add the --depth 1 argument to omit the commit history (shallow clone).
# A shallow clone is faster, but not all Git operations (like blame) will work.

안정적인 릴리스를 보려면 릴리스 페이지을 방문하여 원하는 릴리스에 대한 링크를 클릭하세요. 그런 다음 페이지의 다운로드 링크에서 소스를 다운로드하고 추출할 수 있습니다.

git``를 사용하면 ``--branch``(또는 그냥 ``-b) 인수 뒤에 분기나 태그를 지정하여 안정적인 릴리스를 복제할 수도 있습니다.

# Clone the continuously maintained stable branch (`4.7` as of writing).
git clone https://github.com/godotengine/godot.git -b 4.7

# Clone the `4.7-stable` tag. This is a fixed revision that will never change.
git clone https://github.com/godotengine/godot.git -b 4.7-stable

# After cloning, optionally go to a specific commit.
# This can be used to access the source code at a specific point in time,
# e.g. for development snapshots, betas and release candidates.
cd godot
git checkout f4af8201bac157b9d47e336203d3e8a8ef729de2

`유지 관리 분기 <https://github.com/godotengine/godot/branches/all>`__는 각 부 버전에 대한 추가 패치를 릴리스하는 데 사용됩니다.

GitHub의 godotengine/godot-builds <https://github.com/godotengine/godot-builds/releases>`__에서 `.tar.xz`` 형식의 각 릴리스 및 사전 릴리스에 대한 소스 코드를 얻을 수 있습니다. 버전 제어 정보가 부족하지만 다운로드 크기가 약간 작습니다.

Godot 소스 코드를 다운로드한 후 Godot 컴파일을 계속할 수 있습니다.