Up to date
This page is up to date for Godot 4.2
.
If you still find outdated information, please open an issue.
ソースの取得¶
Godotのソースコードをダウンロードする¶
SConsビルドシステムに入り、Godotをコンパイルする前に、Godotソースコードを実際にダウンロードする必要があります。
ソースコードはGitHubで入手できます。Webサイトから手動でダウンロードできますが、一般的には git
バージョン管理システムを使用してダウンロードします。
If you are compiling in order to make contributions or pull requests, you should follow the instructions from the Pull Request workflow.
まだgitについてよく知らない場合は、さまざまなWebサイトで多数のチュートリアルを利用できます。
一般に、 git
やさまざまなGUIクライアントの1つをインストールする必要があります。
その後、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.
# Faster, but not all Git operations (like blame) will work.
安定版リリースの場合は、リリースページにアクセスして、目的のリリースのリンクをクリックします。次に、ページのダウンロードリンクからソースをダウンロードして抽出できます。
With git
, you can also clone a stable release by specifying its branch or tag
after the --branch
(or just -b
) argument:
# Clone the continuously maintained stable branch (`3.x` as of writing).
git clone https://github.com/godotengine/godot.git -b 3.x
# Clone the `3.2.3-stable` tag. This is a fixed revision that will never change.
git clone https://github.com/godotengine/godot.git -b 3.2.3-stable
通常、各メジャーバージョンには master
以外のブランチもあります。
Godot のソース コードをダウンロードした後、Godotのコンパイルを続行できます。