Misc.isGIFRecording() - True if recording via a GIF, false if not. An example for using this is that it could be used to place a watermark on your GIF on your episode.
Misc.isFullscreen() - True if fullscreen, false if not. An example for using this is that it either could be used for drawing special things to the screen when on fullscreen, or auto-setting the resolution of the game to the screen's max width (Though resolutions aren't made in SMBX2 yet)
Misc.setFullscreen(bool) - If bool is true, then fullscreen will be set if windowed mode is on. Else if the bool is false, windowed mode is activated if fullscreen is already set. This can be used for in-episode options for example.
Today, I have finally put in another pull request once more. Hopefully this one will get in basegame this time.
Requires these edits under ffi_misc.lua.
Misc.isGIFRecording() - True if recording via a GIF, false if not. An example for using this is that it could be used to place a watermark on your GIF on your episode.
Misc.isFullscreen() - True if fullscreen, false if not. An example for using this is that it either could be used for drawing special things to the screen when on fullscreen, or auto-setting the resolution of the game to the screen's max width (Though resolutions aren't made in SMBX2 yet)
Misc.setFullscreen(bool) - If bool is true, then fullscreen will be set if windowed mode is on. Else if the bool is false, windowed mode is activated if fullscreen is already set. This can be used for in-episode options for example.