Main Menu
  • Welcome to The RPG Maker Resource Kit.

Auto Full Screen Script

Started by orb, March 21, 2012, 06:47:03 AM

0 Members and 1 Guest are viewing this topic.

orb

                                                                  Auto Full Screen Script
                                                                                  Author:orb
                                                                                  Version:1.0

Introduction
Its plug and play. Just insert it above main and bellow all others.

Features
When the game starts, it opens up infull screen mode so you don't have to press Alt+Enter.

Screenshots
None requiered

Script
#===========================================================================
#Writen by:orb
#version 1.0
#Date 21/3/12
#===========================================================================
#This script turns on the full screen mode automatically with out having
#to press Alt + Enter
#
#Instructions:
#
#This script is plug and play, just paste it ABOVE main, and BELLOW everything
#else!
#lable it Scene_FullPromt and thats it!
#
#--------------------------------------------------------------------------
#--------------------------------------------------------------------------
# Start Scene_FullPromp
#--------------------------------------------------------------------------
class Scene_FullPromp
#------------------------------------------------------------------------------ 
# Begin by loading DataBase
#------------------------------------------------------------------------------
    $data_system = load_data("Data/System.rxdata")
    $game_system = Game_System.new
      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)
       $scene = nil
      end


Compatibility
Compatible with every thing.

Author's Note
You are free to modify or distribute but under the name of the author.

EvilM00s

Neat! I wonder how tough it would be to mod it for VX.
:tinysmile:

modern algebra

What's with the class and loading the system data? Wouldn't the following accomplish the same thing?


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)


Also, what happens when the game is in fullscreen and the player resets by pressing F12?

And EvilM00s, that would work in VX and VXA straight.

EvilM00s

I knew that! I was... just... seeing if YOU knew that. Yeah.
Okay, not really. I had no idea. But thanks for setting me straight, MA.
:tinysmile:

orb

#4
Thanks for telling Modern Algebra. Actually I have been using RPG Maker XP for just 2months so I don't know much. In fact I have made only two scripts, this is one of those. When the player will press the F12 button the game will become windowed and when the player presses the F12 button again, then the game will again becomefull screen.
Thanks :)