Skip to content

v2.6.0

Compare
Choose a tag to compare
@subsoap subsoap released this 19 Oct 01:14
· 10 commits to master since this release
d0cb233

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