Weird graphical tileset glitch

I'm not sure how to fix this. But, when my characters are at the bottom of the screen, there will be a small band of glitchy behavior at the very bottom of the screen. I'm using the fullscreen++ script but, not sure if that's the cause of it.


I think I can make the tileset bigger and then just put barriers there, but that is a lot of changes I would have to make.

Untitled.jpg
Are you using any sort of parallax images? It looks as though there's a piece of another map or another image there. Does it match up to something you can identify? You're certain it's not just a mapping oops - thinking you'd mapped to the bottom but didn't? (Asking because I've done this before.)
Did you change the window size?


I remember ace had an issue where if you used a window height that is not multiple of 32, something like that happened. I made a script to fix it, it's somewhere in this forum.


Edit: Here's that fix, but it's more like a workaround:


To use it, you'll need to increase your map height by one tile. My script makes the game pretend that this one tile doesn't exist, but it will be displayed instead of that glitch you currently have.

Code:
class Game_Map
  def width
    if Graphics.width % 32 == 0
      @map.width
    else
      @map.width - 1
    end
  end

  def height
    if Graphics.height % 32 == 0
      @map.height
    else
      @map.height - 1
    end
  end
end

class Game_Player < Game_Character 
  def center_x
    ((Graphics.width / 32).floor - 1) / 2.0
  end
  def center_y
    ((Graphics.height / 32).floor - 1) / 2.0
  end
end
Please link to the zoom script you're using, because that output (960x540) is impossible without a zoom script.


And we need to know your mapsize and unzoomed screen size, because that error might also be caused if your map is too small.
Full screen script I use


<deleted by mod>


And yeah, I changed the tileset map to 100x20 in this case. I don't mess with parallax images.



I'm not sure how to find unzoomed size, but it is the max unzoomed size you can get without a script.
@Rokazulu I asked for a link to the script, not for the script to be reposted here.


There are a lot of reasons for this, including that the original sites for the scripts usually contain additional info and bugfixes (if any)


I deleted the script, please give a link to its main page.
I got it from this post here
 
what happens if you change the ratio? either by keyboard functions or by command setting


If the script is set to a ratio that isn't the ratio of the screen size, that might have caused such a behaviour...
what happens if you change the ratio? either by keyboard functions or by command setting


If the script is set to a ratio that isn't the ratio of the screen size, that might have caused such a behaviour...

how do I switch the ratio? Also my screen is 1920x1080 I dunno the ratio of that.
read the instructions - the link to that textfile is inside the script
read the instructions - the link to that textfile is inside the script



It seems to happen at any ratio or screen size.
Please try to test zoomed to screen size 1920x1056 and describe what happens then
Please try to test zoomed to screen size 1920x1056 and describe what happens then



That ratio seems to fix the problem. Of course my title screen has some bars on the top and bottom that weren't there before and there are really big black bars in-game on either side (because of the ratio)
Can you try that on a screen with smaller screen size? Because it might not actually work for computers that have smaller screen sizes so you might need to actually provide your players with the capability to set the ratio themselves.
That ratio seems to fix the problem. Of course my title screen has some bars on the top and bottom that weren't there before and there are really big black bars in-game on either side (because of the ratio)

Have you tried the small script I shared up there?
@Rokazulu if that fixes the problem, then you need to make sure that your screen size is always a multiple of 32 (one tile), as the zoom script (and the engine) cannot handle partial tiles.


1920 is 60x32, 1056 is 33x32 - but 1080 does not fit into the tile format like that.


you'll have to play the game (if you offer other screen sizes) always in a size that is a multiple of 32 in both directions.
Have you tried the small script I shared up there?

Yeah that actually works pretty well, if I go in and change every map so there is an extra layer.


@Andar Ah, k that will be probably more difficult but now I know how to use it.

Original thread: https://forums.rpgmakerweb.com/threads/weird-graphical-tileset-glitch.73124/