Any way to control the game window on Desktop? Reposition or center it?
totebo
October 3, 2019, 7:42am
2
This is what you’re looking for:
# DefOS
Extra native OS functions for games written using the Defold game engine
Currently supports macOS, Windows, Linux and HTML5. Contribute!
## Installation
You can use DefOS in your own project by adding this project as a
[Defold library dependency](http://www.defold.com/manuals/libraries/).
Open your `game.project` file and in the dependencies field under project add:
https://github.com/subsoap/defos/archive/master.zip
## Methods
**Customize title bar** accessories and title.
```lua
defos.disable_maximize_button() -- Not supported on HTML5
This file has been truncated. show original
2 Likes
Thanks! Yes I know about defos. I’m already using it actually but was experimenting with trying to get my bootstrap and code without using any extension
Then I’d suggest looking into using ffi to load shared libraries and calling the relevant functions.