Override default window resolution?

Monkey Forums/Monkey Beginners/Override default window resolution?

consty(Posted 2014) [#1]
Is there a way to create a mojo window with custom resolution?
As far as I have learnt the resolution is changed on the generated project.

But if I want to develop the game with iPhone resolution in mind, is there a way to do this right from the start?


ziggy(Posted 2014) [#2]
You can set the window size, and you can use virtual resolution to work. To set the window size, just use the compiler directives for GLFW. You can also modify them at runtime by using GLFW "exclusive" code.