The RPG Maker Resource Kit

RMRK RPG Maker Creation => RPG Maker General => General Scripting => Topic started by: Pelle on December 08, 2006, 12:47:04 PM

Title: [RESOLVED] Fullscreen?
Post by: Pelle on December 08, 2006, 12:47:04 PM
Hello there.
I just wonder.. how do I make my game start up as Full Screen?
Title: Re: Fullscreen?
Post by: Blizzard on December 08, 2006, 12:53:22 PM
http://rmrk.net/index.php/topic,8907.0.html

There is an add-on that will ask the player at the beginning if he wants to switch to fullscreen. If you want it to go automatically fullscreen, just put this code under "begin" in your "Main" script. Note that it won't go fullscreen in test play mode.

unless $DEBUG
  unless $keybd
    $keybd = Win32API.new 'user32.dll', 'keybd_event', ['i', 'i', 'l', 'l'], 'v'
    $keybd.call 0xA4, 0, 0, 0
    $keybd.call 13, 0, 0, 0
    $keybd.call 13, 0, 2, 0
    $keybd.call 0xA4, 0, 2, 0
  end
end
Title: Re: Fullscreen?
Post by: Pelle on December 08, 2006, 01:30:25 PM
thx!!!!