Without changing game project resolution, how to change window size on windows?

I am developing a mobile game in windows, and when testing I would like the window to be a similar size to the actual target. For example if my mobile target is 1080p, but my 1080p windows monitor is 4x bigger, I want for testing purposes in windows the window to be 4x smaller than the resolution. How to achieve?

You can use defos extension with settings in the game.project: GitHub - subsoap/defos: Extra native OS functions for games written using the Defold game engine
Or using defos.set_view_size(x, y, w, h)

3 Likes

There’s also this editor feature:
https://defold.com/manuals/adapting-graphics-to-screen-size/#testing-different-screen-sizes

But maybe I get you wrong… :slight_smile:

EDIT: oh, no, I totally got you wrong, never mind :stuck_out_tongue: