subsoap / defos

Extra native OS functions for games written using the Defold game engine
Creative Commons Zero v1.0 Universal
121 stars 16 forks source link

View size from game.project affects HTML5 canvas size until first window resize #134

Open Insality opened 6 months ago

Insality commented 6 months ago

If in game.project we have fields

[defos]
view_width = 960
view_height = 540

on HTML5 build the initial size of canvas will be this size until window is resized

I expect this behaviour only for desktop platform and seems wrong in HTML