ok heres the deal. I'm very new at scripting rgss. I would like to make a script so when you get to the main menue on your game you will have an option to go full screen. i have already gotted to where i make the option on the main menue i just need to know how to make ruby automaticly press (alt+enter) when you select this option. If you could help me out you will be credited in this script and i will also post the scripts on rmrk. Thanks a ton!
It's easier than you think ;)
$game_system.se_play($data_system.decision_se)
$showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
$showm.call(18,0,0,0)
$showm.call(13,0,0,0)
$showm.call(13,0,2,0)
$showm.call(18,0,2,0)
That's the code that worked for my game's demo. Don't bother giving me credit for this.
how do i set this up i tried putting it in the menue script and it says un identified method
will this work with out call script?
I'm not going to do this whole script for you, that's the syntax you would need if you actually knew RGSS.
Change the title to a request topic and maybe someone will do this for you.
there its a request
didnt i say i barly new rgss?????????????
Hahahaha.... I'll give this a shot. Makes me work on my scripting a bit.
Double post XD Didn't want to edit. Making sure this gets bumped.
HAAHHAHAHAHA SO DANG EASY!!!! XD Well, since the error was "unidentified method," we shall have to make one!
class FullScreen
def initialize
$game_system.se_play($data_system.decision_se)
$showm = Win32API.new 'user32', 'keybd_event', %w(l l l l), ''
$showm.call(18,0,0,0)
$showm.call(13,0,0,0)
$showm.call(13,0,2,0)
$showm.call(18,0,2,0)
end
end
Add that just before Main (just in case ;)) and call it with a call script that has this:
FullScreen.new
XD Falcon, no wonder you didn't tell him. You're a meanie like Zeriab who makes other people give the answers.
I'm noy sure. But are trying to fix it? Because theres already several fullscreen scripts that dont need call script commands.
No he wants a choice on it. He could have just used Blizzard's Tons of Addons.... but w/e.
ty guys i already figured it out tho. Mastermo how the heck are you every where!
I'm new to scripting myself... in fact, this is apparently my starting point. So how would I go about getting the game to start in full screen without the option?