Full screen.. graphics problem

Status
Not open for further replies.
Joined
Jun 26, 2012
Messages
209
Reaction score
9
First Language
English
Primarily Uses
Hi guys.... so i was testing the game in full screen... and i noticed that the whole picture was stretched..... and therefore quality was reduced.....

Is there anyway i get the same small 640x480 screen while in full screen..... and the quality remains the same..... because i was trying to make a video and in fullscreen graphics are bad

EDIT:; my monitor resolution is 1024x768
 
Last edited by a moderator:

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
Put this and press f5.

Code:
# Fullscreen++ v1.0 by Zeus81
# Description :
#   New fullscreen mode that is more smart and make a better use of the screen surface (no black frame).
#   Alt+Enter still use the old fullscreen mode, to use the new one press F5.
#   To make the game start automatically in fullscreen mode, see line 12.
# Functions :
#   Graphics.fullscreen?       : return the fullscreen state.
#   Graphics.fullscreen_mode   : go to fullscreen mode.
#   Graphics.windowed_mode     : go to windowed mode.
#   Graphics.toggle_fullscreen : toggle from one to the other.
class << Graphics
  fullscreen_start = false

  FindWindow       = Win32API.new('user32', 'FindWindow'      , 'pp'          , 'l')
  CreateWindowEx   = Win32API.new('user32', 'CreateWindowEx'  , 'lpplllllllll', 'l')
  UpdateWindow     = Win32API.new('user32', 'UpdateWindow'    , 'l'           , 'l')
  ShowWindow       = Win32API.new('user32', 'ShowWindow'      , 'll'          , 'l')
  SetWindowLong    = Win32API.new('user32', 'SetWindowLong'   , 'lll'         , 'l')
  SetWindowPos     = Win32API.new('user32', 'SetWindowPos'    , 'lllllll'     , 'l')
  GetSystemMetrics = Win32API.new('user32', 'GetSystemMetrics', 'l'           , 'l')
  GetDC            = Win32API.new('user32', 'GetDC'           , 'l'           , 'l')
  FillRect         = Win32API.new('user32', 'FillRect'        , 'lpl'         , 'l')
  CreateSolidBrush = Win32API.new('gdi32' , 'CreateSolidBrush', 'l'           , 'l')
  if first_start = !method_defined?(:zeus81_fullscreen_update)
    @@MainWindow = FindWindow.call('RGSS Player', 0)
    @@BackWindow = CreateWindowEx.call(0x08000008, 'Static', '', 0x80000000, 0, 0, 0, 0, 0, 0, 0, 0)
    @@FillRectArgs = [GetDC.call(@@BackWindow), [0,0,0xFFFF,0xFFFF].pack('L4'), CreateSolidBrush.call(0)]
    @@fullscreen = false
    alias zeus81_fullscreen_resize_screen resize_screen
    alias zeus81_fullscreen_update        update
  end
  def update
    zeus81_fullscreen_update
    toggle_fullscreen if Input.trigger?(Input::F5)
  end
  def resize_screen(width, height)
    zeus81_fullscreen_resize_screen(width, height)
    fullscreen_mode if fullscreen?
  end
  def fullscreen?() @@fullscreen end
  def toggle_fullscreen() fullscreen? ? windowed_mode : fullscreen_mode end
  def fullscreen_mode
    client_w, client_h = GetSystemMetrics.call(0), GetSystemMetrics.call(1)
    w, h = client_w, client_w * height / width
    h, w = client_h, client_h * width / height if h > client_h
    ShowWindow.call(@@BackWindow, 3)
    UpdateWindow.call(@@BackWindow)
    FillRect.call(*@@FillRectArgs)
    SetWindowPos.call(@@MainWindow, -1, (client_w-w)/2, (client_h-h)/2, w, h, 0)
    SetWindowLong.call(@@MainWindow, -16, 0x14000000)
    @@fullscreen = true
  end
  def windowed_mode
    client_w, client_h = GetSystemMetrics.call(0), GetSystemMetrics.call(1)
    w = width + GetSystemMetrics.call(5)*2 + 4
    h = height + GetSystemMetrics.call(6)*2 + 4 + GetSystemMetrics.call(4)
    ShowWindow.call(@@BackWindow, 0)
    SetWindowPos.call(@@MainWindow, -2, (client_w-w)/2, (client_h-h)/2, w, h, 0)
    SetWindowLong.call(@@MainWindow, -16, 0x14CA0000)
    @@fullscreen = false
  end
  Graphics.fullscreen_mode if first_start and fullscreen_start
end
 
Last edited by a moderator:
Joined
Jun 26, 2012
Messages
209
Reaction score
9
First Language
English
Primarily Uses
Hi... so i used... it... did increase a little quality... but what i actually wanted was that the screen size remain same and it'd go full screen ( meaning, except the screen excess part becomes black )
 

Pegasus

Veteran
Veteran
Joined
Jul 17, 2012
Messages
54
Reaction score
12
First Language
English
Primarily Uses
you need to modify the settings from your monitor to be able to play correctly, not in rpgmaker.
 
Joined
Jun 26, 2012
Messages
209
Reaction score
9
First Language
English
Primarily Uses
So what settings should i modify actually???
 
Last edited by a moderator:

Pegasus

Veteran
Veteran
Joined
Jul 17, 2012
Messages
54
Reaction score
12
First Language
English
Primarily Uses
i don't remember which setting it was on my monitor because it was a long time which I set it. but try to make a search on google or try to play with the settings to see.
 

Archeia

Level 99 Demi-fiend
Developer
Joined
Mar 1, 2012
Messages
15,141
Reaction score
15,473
First Language
Filipino
Primarily Uses
RMMZ
you need to modify the settings from your monitor to be able to play correctly, not in rpgmaker.
This is what this thing does, since I saw that topic you're talking about :X

And someone made a script for it so it'll be automatic.

wait, so what you wanted is automatic full screen or what? o_O

Oh wait, I think I know what you mean. Gotta test something.

The RPG Maker VX full screen type where it's the same resolution but fills the excess screen black.
 
Last edited by a moderator:
Joined
Jun 26, 2012
Messages
209
Reaction score
9
First Language
English
Primarily Uses
I just want the screen size to remain same and all the side and up and down parts to turn black making it look like full screen
 

Lone Wolf

Tsundere
Veteran
Joined
Mar 13, 2012
Messages
311
Reaction score
73
First Language
English
Primarily Uses
As in letterboxed fullscreen. While you can change that in your graphics card's settings utility (look for "display scaling"), you shouldn't need to for video recording, since full-screen mode changes your monitor resolution to 640x480, which is VX Ace's native resolution. Any quality problems are likely with the monitor or codec and not the game screen itself.
 

mlogan

Global Moderators
Global Mod
Joined
Mar 18, 2012
Messages
15,354
Reaction score
8,533
First Language
English
Primarily Uses
RMMV
On my computer, I right-click on the destop, go to Graphic Properties, Panel Fit, and click Maintain Aspect Ratio. It solves the stretched, squashed-sprite look for me.
 
Joined
Jun 26, 2012
Messages
209
Reaction score
9
First Language
English
Primarily Uses
Sorry for the late reply.....

So im using hd 7850.... and i don't see an option " maintain aspect ratio" in catalyst control center "
 

Celianna

Tileset artist
Veteran
Joined
Mar 1, 2012
Messages
10,557
Reaction score
5,592
First Language
Dutch
Primarily Uses
RMMV
You should probably take this problem to the forums of your graphic driver. No one here can tell you how to work your own monitor, so please either google or go to their forum instead.

Closed. This is not a VX Ace support question anymore.
 
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??

Forum statistics

Threads
105,862
Messages
1,017,049
Members
137,569
Latest member
Shtelsky
Top