GameMaker's window_set_fullscreen() is not doing "true" fullscreen but rather fills the browser window leaving the browser chrome still in the view.
The F10 fullscreen is doing the job well however it has not an option to keep aspect ratio. Furthermore, I might need fullscreen to be launched from another key press or mouse click from e.g. an options screen and not from the F10 key.
My extension allows to keep aspect ratio properly and can be called from any key or mouse click. However when used as an extension from within GameMaker, it seems the game overrides my calls somehow and uses window_set_fullscreen() or so it seems. I never got a clear answer as to what causes this.
Why can't I access the Fullscreen API with my extension? Why does GM interfere?
You can try a fullscreen example here. (Uses the same codebase as the extension) So you can see aspect ratio and calling through keys and mouse events is possible.
You can download a gmz to see the problem here. Press Space to try and go Fullscreen and Escape to exit.
Edited by alexandervrs, 26 June 2012 - 04:53 PM.











