collapse collapse

 Community


 User Info




Willkommen Gast. Bitte einloggen oder registrieren.

 Partnerseiten

rpgvx.net

Das Forum ist offline

Autor Thema: High resoloution addon  (Gelesen 2426 mal)

Offline Evil95

  • Aktuelles Projekt: Demon - Beginning of Chaos VX
  • Mr. MACK-Tile
  • ***
  • Beiträge: 289
    • http://demonvx-online.de.vu
High resoloution addon
« am: Juni 01, 2008, 19:47:07 »
Hier erstmal der Link "Fund"-Seite:
Klick

Hier ein Screen:


Hier der Code:
Spoiler for Hiden:
#------------------------------------------------------
# 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

High resoloution addon

Shinda

  • Gast
High resoloution addon
« Antwort #1 am: Juni 01, 2008, 20:56:41 »
Eigentlich ein ganz nettes Script, aber es zerrt ganz schön an der Qualli.
Aber schön zum rumspielen. xD
« Letzte Änderung: Juni 01, 2008, 21:20:53 von Shinda »

High resoloution addon

woratana

  • Gast
High resoloution addon
« Antwort #2 am: Juni 01, 2008, 21:22:04 »
The bad point of this script is that it will stretch image to 200%,
which will make image lose the sharpness. sad.gif\" style=\"vertical-align:middle\" emoid=\":(\" border=\"0\" alt=\"sad.gif\" /]

I still can't find the resolution script that work the same as one in module Graphics.
And that one only allow you to change screen to 640 x 480 maximum.

High resoloution addon

Offline Dragonlord

  • Mr. MACK-Tile
  • ***
  • Beiträge: 247
High resoloution addon
« Antwort #3 am: Juni 02, 2008, 05:48:19 »
Vielen Dank für das Skript.
Wobei das wirklich etwas sehr komisch aussieht. ^^

Re: High resoloution addon

Offline Johny-Kk

  • 1,2,3,5????
  • Database-Verunstalter
  • **
  • Beiträge: 146
  • Ich bin wie ich bin...
    • 4 Souls <3
Re: High resoloution addon
« Antwort #4 am: Februar 08, 2011, 21:27:26 »
kann man es irgendwie machen das es vollbild (mit gewählter größe) ist und nicht fenster?

Re: High resoloution addon

Offline Evil95

  • Aktuelles Projekt: Demon - Beginning of Chaos VX
  • Mr. MACK-Tile
  • ***
  • Beiträge: 289
    • http://demonvx-online.de.vu
Re: High resoloution addon
« Antwort #5 am: Februar 19, 2011, 01:33:06 »
ne weil ja die auflösung an sich nich geändert wird, sondern das fenster in die gewählte auflösung gestretcht wird.

 


 Bild des Monats

rooftop party

Views: 3581
By: papilion

 Umfrage

  • Wer soll das BdM gewinnen?
  • Dot Kandidat 1
  • 3 (25%)
  • Dot Kandidat 2
  • 1 (8%)
  • Dot Kandidat 3
  • 2 (16%)
  • Dot Kandidat 4
  • 0 (0%)
  • Dot Kandidat 5
  • 6 (50%)
  • Stimmen insgesamt: 12
  • View Topic

 Schnellsuche





SimplePortal 2.3.3 © 2008-2010, SimplePortal