Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

> Auto Full Screen.
Monos
post Feb 6 2008, 01:00 AM
Post #1


Level 2
Group Icon

Group: Member
Posts: 21
Type: None
RM Skill: Skilled




Name: In the script main.
Author Hum Distributed for Topher (No create) (Script XP) and
Adapted for Vx: Me
Nomber Script 1
Information

In the Script "Main"
After "Begins" (Line 12)

Add this script.

CODE
$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)



Full Script main

CODE
#==============================================================================
# ■ Main
#------------------------------------------------------------------------------
#  各クラスの定義が終わった後、ここから実際の処理が始まります。
#==============================================================================

unless Font.exist?("UmePlus Gothic")
  print "UmePlus Gothic フォントが見つかりません。"
  exit
end

begin
$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)
  Graphics.freeze
  $scene = Scene_Title.new
  $scene.main while $scene != nil
  Graphics.transition(30)
rescue Errno::ENOENT
  filename = $!.message.sub("No such file or directory - ", "")
  print("ファイル #{filename} が見つかりません。")
end


This post has been edited by Monos: Feb 6 2008, 01:01 AM


__________________________
Hum Nothing.
Go to the top of the page
 
+Quote Post
   
 
Start new topic
Replies
Rory
post Feb 6 2008, 01:18 AM
Post #2


GFX Pro
Group Icon

Group: +Gold Member
Posts: 409
Type: Artist
RM Skill: Skilled




Erm.. actually.. you can just select Game > Start Full Screen to make the game full screen.


__________________________

THE SAVAGE NYMPH
Note: this is Magdreamer, I'm using my real name for my forum name now.
Go to the top of the page
 
+Quote Post
   



Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 

Lo-Fi Version Time is now: 19th June 2013 - 05:35 AM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker