Compiling Godot Engine

I just wanted to write simple tutorial how to compile the best open-source game engine, Godot. This will get you the latest unstable tool with possibly many bugs. That sad it works flawlessly most of the time.

Libs:

$ sudo swupd bundle-add os-utils-gui-dev
$ sudo swupd bundle-add hardware-gpu

Clone the project and compile:

$ git clone https://github.com/godotengine/godot.git
$ cd godot
$ scons p=x11 -j<THREADS>     (this will take some time...)
$ sudo cp bin/godot.x11.tools.64 /usr/bin/godot

Change to number, eg -j4 for four threads (do not use space).
Run godot anywhere for editor or inside game project to just run that game.

For stable version just use flatpak:
flatpak install flathub org.godotengine.Godot

Now go and make a game! :wink:

1 Like

FWIW minetest is also a game engine (C++/Lua based, very small). You may know I’ve used it to create a (personal, not paid by intel or endorsed) custom game for it myself! (See: https://minetest.foo-projects.org/ )