How to change screen resolution and mode via code?

Previous topic - Next topic

tictac

Hello,

I cannot find a function to change screen resolution via code, how can I do it?
(for example, I want to let the user change game resolution).

Thank you (even without restarting the game!)
-Alessandro

Sebastian


acristo

Thats right

SETSCREEN 1280,800,1

the number after the resolution is fullscreen(1) or windowed(0)

tictac

-Alessandro