RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
[RESOLVED] help on full screen script

0 Members and 1 Guest are viewing this topic.

***
Rep:
Level 88
supsup
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!
« Last Edit: May 12, 2007, 08:10:24 AM by Zeriab »
For Free Web Design, E-mail us at freewebdesign@gmail.com

******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009
It's easier than you think ;)

Code: [Select]
        $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.

***
Rep:
Level 88
supsup
how do i set this up i tried putting it in the menue script and it says un identified method
For Free Web Design, E-mail us at freewebdesign@gmail.com

**
Rep:
Level 88
Project 03
will this work with out call script?
This note is legal tender for all debts, public and private

******
Revolution is not a bed of roses.
Rep:
Level 91
Project of the Month winner for July 2009
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.

***
Rep:
Level 88
supsup
there its a request
For Free Web Design, E-mail us at freewebdesign@gmail.com

***
Rep:
Level 88
supsup
didnt i say i barly new rgss?????????????

For Free Web Design, E-mail us at freewebdesign@gmail.com

*
A Random Custom Title
Rep:
Level 96
wah
Hahahaha.... I'll give this a shot. Makes me work on my scripting a bit.

*
A Random Custom Title
Rep:
Level 96
wah
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!

Code: [Select]
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:

Code: [Select]
FullScreen.new

XD Falcon, no wonder you didn't tell him. You're a meanie like Zeriab who makes other people give the answers.

***
Rep:
Level 88
I'm noy sure. But are trying to fix it? Because theres already several fullscreen scripts that dont need call script commands.
Games in progress:
Tome of Arastovia: 7% complete at 2 hours of gametime

*
A Random Custom Title
Rep:
Level 96
wah
No he wants a choice on it. He could have just used Blizzard's Tons of Addons.... but w/e.

***
Rep:
Level 88
supsup
ty guys i already figured it out tho. Mastermo how the heck are you every where!
For Free Web Design, E-mail us at freewebdesign@gmail.com

**
Rep: +0/-0Level 87
Crazy Furry RPG Fan of Doom
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?
?uoy t'noD ?ton yhW .yllamron depyt meht gniees fo derit tog I .sdrawkcab erutangis siht nettirw ev'I ,seY