Ask / Submit

SailfishOS port of Godot game engine

asked 2016-02-25 15:23:04 +0200

yurumi gravatar image

Hi all,

would it be possible/feasible to port the Godot game engine to SFOS in a Harbour-compatible way?

Godot is an open source 2D/3D and multi-platform (iOS, Android, BlackBerry OS, Windows, OS X, Linux, *BSD, Haiku) game engine. Unlike the Unity engine, a community port of Godot should be possible - particularly if there's even Haiku support ;-)

Greetings, Thomas

edit retag flag offensive close delete


Godot is OpenGLES from what I can see? it should run out of the box as "raw" OpenGLES app. EDIT : unless it relies on SDL2 library; but if it provides it out of the box, it should not be a problem.

tortoisedoc ( 2016-02-25 15:45:46 +0200 )edit

@tortoisedoc: What do you mean by '"raw" OpenGLES app'? I would assume that at some point there has to occur some cross compiling and some SFOS specific packaging. It would also be comfortable (not necessarily necessary) to deploy the game directly from the editor. I had a look at the platform specific parts of the source code: While the Android export template is quite extensive, Haiku or BB10 are much more compact. In any case some adaption regarding audio and OpenGL context seem to be necessary.

yurumi ( 2016-02-25 16:42:57 +0200 )edit

@yurumi SFOS is barebone linux on arm. as I understood, the engine already runs on a sledge of arm-based platforms (android, blackberry) as well as on linux. The work should not be that extensive to make it work as "native" opengles app (as in an app that runs without qt)

tortoisedoc ( 2016-02-26 10:02:54 +0200 )edit

It take a lot of time, I tried to look at unreal engine to get a Sailfish OS port option and it took me way much more time than expected... I hope you have are not alone...

NeWin ( 2016-02-29 13:46:06 +0200 )edit

2 Answers

Sort by » oldest newest most voted

answered 2017-07-13 15:39:26 +0200

sashikknox gravatar image

edit flag offensive delete publish link more


I buid that on emulator, but when i try to launch arm version on Inoi R7, its segfault ( cant found some export functions in libraries on phone, but find all in mersdk : sb2 -t SailfishOS-armv7 -m sdk-build ldd -r harbour-godotengine )

sashikknox ( 2017-07-24 14:53:35 +0200 )edit

on emulator i cant launch 3D game? but 2D launch fine ) but it launch from gogod editor in terminal: harbour-godotengine -path "path/to/my/game/project"

sashikknox ( 2017-07-24 14:59:57 +0200 )edit

answered 2018-11-27 09:41:37 +0200

sashikknox gravatar image

updated 2018-11-27 12:52:22 +0200

For now, i already build only Godot 2.1.5 for Sailfish OS, it work nice, but it only beta... it dont have orientation change event (only portrait for now), it dont have any sensors (no accelerometer, no gyroscope), it not pause engine when application is move to background (to desktop as cover page). (not have time to make it all)

P.S. this export tempalte is based on SDL2 (its not only one way to do this, it can be done with QT or pure Wayland). SDL2 export tempalte for SailfishOS (Godot 2.1.*) based on pull request form github godot engien page for Godot 3.0.*:

edit flag offensive delete publish link more
Login/Signup to Answer

Question tools



Asked: 2016-02-25 15:23:04 +0200

Seen: 905 times

Last updated: Nov 27