• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Red, Hilda, Paxton, or Kellyn - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

Screen Size Problem

  • 277
    Posts
    16
    Years
    • Seen Sep 24, 2014
    I'm really new to RPGXP but i've changed the size of screen to 256x192 in spriteresizer.
    Everything works great except the message boxes and background images like intro with profesor oak is really big. and autotiles sometimes desapire. So how can i change resolution of those message boxes and so ? It looks like this :
    [PokeCommunity.com] Screen Size Problem
     
    You only changed the size of the viewport.

    Look into the Resolution library.
     
    I've changed the TILEWIDTH and TILEHEIGHT in resolution library from 32 to 16 but this only changes tiles.
     
    Add the following code under the game_map class in resolution. Then adjust the appropriate graphics.height and graphic.width variables.
    Code:
    VPX= [COLOR=Red]0[/COLOR]
    VPY= [COLOR=Red]0[/COLOR]
    VPWIDTH= [COLOR=Red]0[/COLOR]
    VPHEIGHT= [COLOR=Red]0[/COLOR]

    Change the values in red to whatever you need them to be.
     
    It will look something like this right ?
    Code:
     class Game_Map
    TILEWIDTH = 16
    TILEHEIGHT = 16
    XSUBPIXEL = $RPGVX ? 4 : 2
    YSUBPIXEL = $RPGVX ? 4 : 2
    VPX= 7
    VPY= 9
    VPWIDTH= 7
    VPHEIGHT= 8
    i've just put random numbers there to see if it works but it dosen't change anything :S
     
    Ignore all that above - it's wrong.

    Go into the script section SpriteResizer and find the line "$ResizeFactor=1.0" (around line 133). Change that number to "0.5". Done.

    Note that the player will still be able to change the resolution and size of the game window through the Options screen. If you want to disable this, quote out/delete the relevant part in PokemonOption:

    Code:
      EnumOption2.new(_INTL("SCREEN SIZE"),[_INTL("240x160"),_INTL("480x320"),_INTL("320x240"),_INTL("640x480")],
      proc { $PokemonSystem.screensize },
      proc {|value|
       oldvalue=$PokemonSystem.screensize
       $PokemonSystem.screensize=value
       $ResizeOffsetX=[0,0,80,80][value]
       $ResizeOffsetY=[0,0,80,80][value]
       pbSetResizeFactor([0.5,1.0,0.5,1.0][value])
       if value!=oldvalue
        ObjectSpace.each_object(TilemapLoader){|o| next if o.disposed?; o.updateClass }
       end
      }
      ),
    I grow weary of seeing people making new threads for simple questions like this, when there's already a thread specifically for those questions.
     
    Ignore all that above - it's wrong.

    Go into the script section SpriteResizer and find the line "$ResizeFactor=1.0" (around line 133). Change that number to "0.5". Done.

    Note that the player will still be able to change the resolution and size of the game window through the Options screen. If you want to disable this, quote out/delete the relevant part in PokemonOption:

    Code:
      EnumOption2.new(_INTL("SCREEN SIZE"),[_INTL("240x160"),_INTL("480x320"),_INTL("320x240"),_INTL("640x480")],
      proc { $PokemonSystem.screensize },
      proc {|value|
       oldvalue=$PokemonSystem.screensize
       $PokemonSystem.screensize=value
       $ResizeOffsetX=[0,0,80,80][value]
       $ResizeOffsetY=[0,0,80,80][value]
       pbSetResizeFactor([0.5,1.0,0.5,1.0][value])
       if value!=oldvalue
        ObjectSpace.each_object(TilemapLoader){|o| next if o.disposed?; o.updateClass }
       end
      }
      ),
    I grow weary of seeing people making new threads for simple questions like this, when there's already a thread specifically for those questions.

    I don't think the dimensions he/she is looking for are 50% of the default size...
     
    Maruno it still dosen't work. Its still the same like in a picture i posted.
     
    It has been ages since I actually had the default resolution XD.

    But yeah, just void what I said I was leading you down a rather annoying path anyways :P.
     
    Back
    Top