Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ///Handle window size.
- //If the window is not set to fullscreen.
- if (global.windowsize != 3) {
- //Set up the size of the window.
- window_set_size(256*global.windowsize, 244*global.windowsize);
- //Center the window if it's not centered.
- window_center();
- //Disable fullscreen.
- window_set_fullscreen(false);
- }
- //Otherwise, if set to fullscreen.
- else {
- //Set window to fullscreen.
- window_set_fullscreen(true);
- }
Add Comment
Please, Sign In to add comment