We have moved to a new Sailfish OS Forum. Please start new discussions there.
10

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

Comments

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
8

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

sashikknox gravatar image

updated 2019-12-11 13:14:16 +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)

Added: Godot 3.1 and 3.2.betta supported too:
Wait merge ;-) , (vote for this if you want) Godot master branch: https://github.com/godotengine/godot/pull/33778

edit flag offensive delete publish link more

Comments

@sashikknox: Wow, that's really impressive! I'll try the instructions as soon as there is some free time. Thanks for all the work you put in!

yurumi ( 2019-12-11 23:28:54 +0200 )edit
5

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

sashikknox gravatar image

https://github.com/godotengine/godot/pull/9435

edit flag offensive delete publish link more

Comments

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
Login/Signup to Answer

Question tools

Follow
6 followers

Stats

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

Seen: 1,348 times

Last updated: Dec 11 '19