Does anyone know if it is possible to switch between the windowed and fullscreen mode with a simple script call or switch? I'm not looking for a fullscreen script, just want to use the default option which is available from the F1 menu. I want to integrate it into Yanfly's system options script, so the player can switch between the two from the options menu.
Is there a script call or switch to switch between fullscreen and windowed mode?
RGSSx Script Supporthttp://forums.rpgmakerweb.com/index.php?/topic/58989-fullscreen-toggle-option-add-fullscreen-to-your-options-menu/
Pretty sure thats what you're looking for.
Edit: Just overlooked the part where you didnt want a script. Sorry about that. 🙁
Pretty sure thats what you're looking for.
Edit: Just overlooked the part where you didnt want a script. Sorry about that. 🙁
Try this. It probably COULD be done as a script call, but you're better off putting it into an actual script. If you're adding it to an options menu, you'll have to figure out how to tell whether it's meant to be full screen on loading the game, and if it IS full screen on loading the game, and whether you need to do something about it.
Code:
@keyboard = Win32API.new('user32', 'keybd_event', %w(l l l l), '')
@keyboard.call(18, 0, 0, 0)
@keyboard.call(13, 0, 0, 0)
@keyboard.call(18, 0, 2, 0)
@keyboard.call(13, 0, 2, 0)
Thank you Shaz!
Oscar92Player reworte Yanfly's system options to put in the fullscreen feature.
Thanks, this sounds great! Will check it out!
Original thread: https://forums.rpgmakerweb.com/threads/is-there-a-script-call-or-switch-to-switch-between-fullscreen-and-windowed-mode.71074/