Defos Versions Save

Extra native OS functions for games written using the Defold game engine

v2.7.1

6 months ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/refs/tags/v2.7.1.zip

Features:

Fix build for linux in Defold 1.6.2+ (https://github.com/subsoap/defos/issues/131)

v.2.7.0

2 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/refs/tags/v.2.7.0.zip

Features:

Fixes defos.set_window_title on Windows to properly support unicode characters (requires host OS to support those characters still).

Thanks @e1e5en-gd

v2.7.0

2 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/refs/tags/v2.7.0.zip

Features:

Fixes defos.set_window_title on Windows to properly support unicode characters (requires host OS to support those characters still).

Thanks @e1e5en-gd

v2.6.0

2 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/v2.6.0.zip

Features:

game.project

(From Defold 1.2.188)

You can change the initial view size and position of your game's window by editing the game.project file of your project in a plain text editor and adding the following lines:

[defos]
view_width = 640
view_height = 480
view_x = 20
view_y = 40

view_width and view_height can be used without view_x and view_y but not vice versa.

These initial values will be used at the launch of your project without needing to call any extension functions. Use these values to decrease the initial size of your game’s window view size if your game.project's [display] width / height values are large.

Thanks @AGulev

v2.5.0

3 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/v2.5.0.zip

Features:

  • Add defos.on_user_interaction() as a more generic version of defos.on_click(). Thanks @britzl

v2.4.2

3 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/v2.4.2.zip

Fixes:

  • Fix headless builds (Thanks @JCash)
  • Fix cursor hiding issue on macOS

v2.4.1

3 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/v2.4.1.zip

Fixes:

  • Fix HTML5 build on Defold 1.2.170

v2.4.0

4 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/v2.4.0.zip

Features:

  • defos.activate() to bring the game's window in focus

v2.3.1

4 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/v2.3.1.zip

Bug fixes:

  • Fix compiler error on Windows with Defold 1.2.163

v2.3.0

4 years ago

Dependency URL:

Add this to your game.project:

https://github.com/subsoap/defos/archive/v2.3.0.zip

New features:

  • Implement on_mouse_enter/on_mouse_leave events on Linux