GameMaker: Studio

GameMaker: Studio

View Stats:
Background is blurred
The background (4800 x 2700 px) in one of my rooms consists of a grid. I drafted the grid using MS Paint and each grid line is 1 px thick. However, when I run the room in game the grid lines seemed stretched and blurred. The view in the room is W = 4800 and H = 2700 and the port on screen is W = 1920 and H = 1080. Both ratios are therefore the same and I thought this would mean that the lines will also be represented as 1 px on screen. Why would they be blurred and stretched?
< >
Showing 1-11 of 11 comments
Pax Jul 30, 2013 @ 2:13pm 
Have you tried disabling interpolation in the global game settings?
boing6000 Jul 30, 2013 @ 4:17pm 
tnks
regardtvisagie Jul 30, 2013 @ 11:09pm 
tnks? Have tried disabling interpolation but doesn't seem to work.
Scarabian Jul 31, 2013 @ 6:41am 
I think this is probably down to the fact that your screen is trying to draw a grid where the lines are less than a pixel thick. Your screen view is 2.5 times smaller than it's room port. the view therefore uses a scale of 1:2.5 for every pixel displayed. This means that the view is trying to draw a line 1/2.5 pixels wide which it cant do. Hence your grid appears blurred and stretched.
regardtvisagie Jul 31, 2013 @ 8:42am 
Thank you scarabian. Any suggestions how thick I should make the grid lines in order for it to be displayed on screen appropriately?
regardtvisagie Jul 31, 2013 @ 10:45am 
fixed it - background was too large
disKO Jul 31, 2013 @ 6:49pm 
Sounds like you used the stretch option for the background. Just always make the background as big as the view in the room, or as big as the height and width of the room.

Another thing ya could do is go to the background and select the "Use as Tile Set" option, it took me forever to figure out how to use this. It lets ya split up the background into square tiles and then in the room editor, you can select the tiles and lay down the tiles into the background. That way you could place a bunch of boxes down like objects in the room but they wouldn't take up a ton of memory like an object or cause problems in your game becuase it's just part of the background. This is also useful if ya wanna place a second background, or ya have one background as the sky and a bunch of tiles that are clouds.
jedislight Dec 17, 2013 @ 8:33am 
Found this discussion when looking for a solution to the same problem. Game maker creates large texture pages with all of your texture data in as few as possible large images. By default the texture page is to small to hold even 1 full HD background on some platforms. If you set the texture page to a size larger than your largest background (the max right now is 8192 X 8192) then your backgrounds will not be compressed when compiling your game. The texture page size settings can be found under Global Game Settings -> Platform(Windows, Mac OS X, etc) -> Graphics.
blanu Feb 2, 2014 @ 3:02pm 
jedislight, thanks for this tip. You were right, Global Game Settings - IOS - Texture Pages - Size was the setting that was causing all of my backgrounds to be blurry even though the background size and the room size were the same. I set it to 2048x2048 and now it looks great.

Originally posted by jedislight:
Found this discussion when looking for a solution to the same problem. Game maker creates large texture pages with all of your texture data in as few as possible large images. By default the texture page is to small to hold even 1 full HD background on some platforms. If you set the texture page to a size larger than your largest background (the max right now is 8192 X 8192) then your backgrounds will not be compressed when compiling your game. The texture page size settings can be found under Global Game Settings -> Platform(Windows, Mac OS X, etc) -> Graphics.
IRISK - Handu Aug 15, 2016 @ 2:20am 
thank you all for background blurr solution :D
daygoshen Mar 30, 2018 @ 9:00am 
this texture 8192x8192 is one ROOM ? or many texture for rooms ?
< >
Showing 1-11 of 11 comments
Per page: 1530 50

Date Posted: Jul 30, 2013 @ 12:32pm
Posts: 11