The RPG Maker Resource Kit

RMRK RPG Maker Creation => Requests => Script Request => Topic started by: Roxaszu on September 30, 2010, 06:28:35 PM

Title: Fullscreen and window screen
Post by: Roxaszu on September 30, 2010, 06:28:35 PM
can i ask a script that if we call, it'll make our game to be fullscreen, and the other one , if we call it, it turn our game to be window screen ???
thx :)
<For rpg maker XP>
Title: Re: Fullscreen and window screen
Post by: valdred on September 30, 2010, 06:51:07 PM
This should be in rmxp section then. Anyway, that is already built in. Press alt and enter at once.
Title: Re: Fullscreen and window screen
Post by: Roxaszu on October 02, 2010, 05:56:28 AM
Yeah, it's the player who press the alt + Enter right ???
but, is that possible, if we, the maker, make the script, so when we call the script, it'll make it full screen, or window screen as we wish ??? :3
not as the player, but when we call the script, it simply change the screen....
Title: Re: Fullscreen and window screen
Post by: Supercow on November 15, 2010, 10:55:43 AM
#put this in script/make new folder (place it at the very top) :
$key_simulieren = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
$key_simulieren.call(18,0,0,0)
$key_simulieren.call(13,0,0,0)
$key_simulieren.call(13,0,2,0)
$key_simulieren.call(18,0,2,0)
# this will make full screen the first time you play
# its not me who made it so dont ask about configuring it using switch or whatever ;D