subsoap / defos

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

defos.set_window_size doesn't adjust based on client area size #58

Closed subsoap closed 6 years ago

subsoap commented 6 years ago

2018-01-09-22_23_39-untitled-1- -33

defos.set_window_size is based on window size and not client area size. We either need another function or to modify this so it's based on resizing the client area. This is important for pixel art games especially so people can easily set 2x, 4x window sizes of default res for even pixel scaling.