Submit Your Article


 
RPG Maker

Welcome Guest ( Log In | Register )


  Games Resources RPG Maker VX RPG Maker XP Scripts Tutorials Downloads

 
Reply to this topicStart new topic
> 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
   
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
   
woratana
post Feb 6 2008, 01:29 AM
Post #3


Looking for scripter to hire? PM me *O*
Group Icon

Group: +Gold Member
Posts: 1,038
Type: Scripter
RM Skill: Undisclosed




@Magdreamer
I think that option will only effect when you're testing in program, isn't it?

I don't sure about that, because I don't really like the full screen at top-left of the screen.

@Monos
I feel familiar with full screen script for XP, is it the same?


__________________________
Check out my NEW blog!!!



MVP (Most Valuable Poster) Award 2008


Go to the top of the page
 
+Quote Post
   
Monos
post Feb 6 2008, 01:48 AM
Post #4


Level 2
Group Icon

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




QUOTE
I feel familiar with full screen script for XP, is it the same?


Hum Yes and no.

This is the script XP i see.

CODE
#=============
# ¦ Main
#---------------------
# ??????????????????
#=============

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)
# Change the $fontface variable to change the font style
$fontface = "Arial"
# Change the $fontsize variable to change the font size
$fontsize = 24
# ?????????
Graphics.freeze
# ????????? (??????) ???
$scene = Scene_Title.new
# $scene ?????? main ?????????
while $scene != nil
$scene.main
end
# ???????
Graphics.transition(20)
rescue Errno::ENOENT
# ?? Errno::ENOENT ???
# ????????????????????????????????
filename = $!.message.sub("No such file or directory - ", "")
print("File #{filename} was not found.")
end




The script VX is full screen when you play : lunch not in editor. Auto Exe game
And in my pc, the game is center not top-left of the screen.

(sorry for my bad english)


__________________________
Hum Nothing.
Go to the top of the page
 
+Quote Post
   
Rory
post Feb 6 2008, 02:07 AM
Post #5


GFX Pro
Group Icon

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




It works outside the test mode if I'm not wrong.


__________________________

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
   
Monos
post Feb 6 2008, 02:42 AM
Post #6


Level 2
Group Icon

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




QUOTE
It works outside the test mode if I'm not wrong.


Yes. and test mode with me.

"Hum, is not a resolution Script."


__________________________
Hum Nothing.
Go to the top of the page
 
+Quote Post
   
jasonicus
post Feb 6 2008, 03:09 AM
Post #7


All Lies Lead to the Truth
Group Icon

Group: Revolutionary
Posts: 1,573
Type: Developer
RM Skill: Advanced




Isn't this just a setting in the F1 options? I personally don't like it when it goes to full screen automatically.
Go to the top of the page
 
+Quote Post
   
Monos
post Feb 6 2008, 04:09 AM
Post #8


Level 2
Group Icon

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




QUOTE
Isn't this just a setting in the F1 options? I personally don't like it when it goes to full screen automatically.


This script is for the final project.

The player Do not know "F1" , editor and alt + enter.


__________________________
Hum Nothing.
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: 22nd May 2013 - 06:52 PM
RPG RPG Revolution is an Privacy Policy and Legal
eXTReMe Tracker