• Hey Guest! Ever feel like entering a Game Jam, but the time limit is always too much pressure? We get it... You lead a hectic life and dedicating 3 whole days to make a game just doesn't work for you! So, why not enter the GMC SLOW JAM? Take your time! Kick back and make your game over 4 months! Interested? Then just click here!

GameMaker [solved] No more sub-pixel display?

hdarren

Member
I am making a small retro game with a small resolution. I have my game set up the way I normally do with GM1 but I have noticed in GM2 that pixels don't go off grid. This can make movement look jaggidy. In GM1 the objects go off grid so movement looks smooth.

Have I set something wrong in GM2?

In my rooms I have the port size the same as the view. Then at the start of the game I have this code to make the window bigger.

Code:
window_set_size(320*global.Scale,240*global.Scale);
I tried increasing the port screen but it didn't seem to make a difference.
 

YellowAfterlife

ᴏɴʟɪɴᴇ ᴍᴜʟᴛɪᴘʟᴀʏᴇʀ
Forum Staff
Moderator
Usually, by calling surface_resize on application_surface with the same size as the window is.
 
Top