Hier erstmal der Link "Fund"-Seite:
Klick (http://www.rpgrevolution.com/forums/?showtopic=13473#entry158849)
Hier ein Screen:
(http://img107.imageshack.us/img107/808/maximizevxrx6.jpg)
Hier der Code:
#------------------------------------------------------
# By From_Aríel
#------------------------------------------------------
# High resoloution addon
# Thnx Mechacrash and Kylock and myself when I get done upddating it
#
# I attached it onto here asi want videos to play and be caled upto the new
# window size please help.....
#
# ..... Usage: Resolution.resize(Width,Height)
# This will scale the window upto width/height
#so I.E.
#
#... Rpgamker VX defailt windowed size = 544x416 if we put Resolution.resize(1088,832) in main
#Then the windowed mode will be scaled upto 1088x832 i.e 200% smile.gif
#
#
# p.s. this is currently a part of a W.I.P. script of my own that might blow peoples socks off.
#more to come.
class Resolution
def self.resize(width,height)
getSystemMetrics = Win32API.new('user32', 'GetSystemMetrics', 'I', 'I')
moveWindow = Win32API.new('user32','MoveWindow',['l','i','i','i','i','l'],'l')
findWindowEx = Win32API.new('user32','FindWindowEx',['l','l','p','p'],'i')
window = findWindowEx.call(0,0,"RGSS Player",0)
screenwidth = getSystemMetrics.call(0)
screenheight = getSystemMetrics.call(1)
if width == 0 and height == 0 then
moveWindow.call(window,0,0,screenwidth ,screenheight ,1)
else
moveWindow.call(window,(screenwidth - width) / 2,(screenheight - height) / 2,width,height,1)
end
end
end
Anleitung:
1. Kopier das Script über Main rein.
2. Geh zum Script "Main". dort über 'Begin' kommt folgender Befehl:
Resolution.resize(x,y)
Anstatt x und y nehmt ihr eure auflösung die ihr wollt. Ich empfehle 816,624. Viel spass mit dem Script.
Credits gehen an:
From_Ariel, Kylock und Mechacrash