Differences between revisions 2 and 3
Revision 2 as of 2018-08-29 21:47:24
Size: 1150
Comment:
Revision 3 as of 2018-08-29 21:48:19
Size: 1123
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
== Introduction ==  == Introduction ==
Line 5: Line 5:
=== References ===
 * '''!GitHub repository''': ''https://github.com/godotengine/''
=== References ===
Line 8: Line 7:
== Godot in Debian == '''!GitHub repository''': ''https://github.com/godotengine/''
Line 10: Line 9:
=== Packaging Godot ===
Line 11: Line 12:
  == Packaging Godot ==
Line 22: Line 21:
== Packaging Godot games == === Packaging Godot games ===

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