Differences between revisions 3 and 4
Revision 3 as of 2018-08-29 21:48:19
Size: 1123
Comment:
Revision 4 as of 2019-09-13 11:09:21
Size: 1172
Editor: ccts
Comment:
Deletions are marked like this. Additions are marked like this.
Line 32: Line 32:

----
 CategoryGame | CategoryGameDevelopment

Introduction

Godot is a multi-plaftorm game engine.

References

GitHub repository: https://github.com/godotengine/

Packaging Godot

The godot3 engine is being packaged.

Godot provides 3 binaries (and no libraries): the editor, the runner and the headless server.

The runner binary aka "export template" is close to an interpreter: it's called to run a .pck file that contains the game.

Godot integrates with other languages thanks to GDNative, which "bridges" between languages using a C API

The project can break compatibility on minor (but not patch) versions, hence packages are named godotX.Y godotX.Y-[runner|server]

Packaging Godot games

The source package for a game is built from the sources tar.gz as usual. Example for a game called "foo" that runs on godot3.1:

The binary contains the .pck file and a launch script e.g. /usr/games/foo and no server/runner, and it depends on godot3.1

The launch script contains:

    /bin/sh
    /usr/bin/godot3.1 /usr/lib/godot3.1/foo.pck