Skip to main content

On Sale: GamesAssetsToolsTabletopComics
Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Strive: Conquest

A successor to first Strive For Power game, currently at alpha stage · By Strive4Power

Export game in Godot such that wayland mode is available on the Linux build

A topic by Ozymandias42 created 90 days ago Views: 652 Replies: 3
Viewing posts 1 to 2

It would be nice if you could export the Linux binary with the wayland mode enabled

I was sure its working on linux, I could export binary but then the game's code would be uneditable

(1 edit)

According to this https://forum.godotengine.org/t/switching-the-running-game-to-use-wayland/68394/... it should just work by adding the `--display-driver wayland` flag, given that a recent enough version of Godot was used to export the game.

Unfortunately that flag does not appear in `--help` and seems to be ignored when used. 
Seeing how the above post is from June and refers to a Godot 4.3 dev 3 snapshot the version you use is probably not yet recent enough. I would assume that once that trickles down into stable it should just work.

EDIT: The game works perfectly fine on Linux. It's just that it still uses Xorg, or well, Xwayland on a wayland compositor instead of running natively on wayland. 

I'm afraid we are using godot 3.5.1 and there's no plans to move over to 4.0