So I've been working on a game in game maker studio (standard edition,the game I'm making is for windows) for some time now.It's been going fine,however when I turn on fullscreen all the graphics become very fuzzy and distorted.I found a fix to this by turning of interpolation in the global settings,but in doing so now the sprites look torn when in fullscreen.The game view is 1024 x 768.I know that my problem is caused by the fact that the graphics are being increased unevenly.So I thought i could create a custom game launcher which set the screen resolution (not the game resolution,but the actual screen resolution of windows) to be 1024 x 768 and then switch back when the game closes.I did that using a batch file I converted into an .exe and a program called "QRes.exe" and that worked out fine,but my problem is that the program "QRes.exe" is copyrighted (there's a copyright message in the console when you use it),so I won't be able to use it when i release my game eventually.
So is there a way to create a custom launcher for my game,that changes the screen resolution to 1024 x 768 and then back to the resolution that is was before without using any copyrighted programs like this one
Here's the code that I used with "QRes.exe" (Note that I'm not expirienced with batch files,I found the code for getting the current screen resolution on this site,the rest i wrote myself,since it involves very little knowledge of batch files and is very simple code)
@echo off
for /f "delims=" %%# in ('"wmic path Win32_VideoController get CurrentHorizontalResolution,CurrentVerticalResolution /format:value"') do (
set "%%#">nul
)
echo %CurrentHorizontalResolution%
echo %CurrentVerticalResolution%
QRes.exe /x:1024 /y:768
"GAME.exe"
QRes.exe /x:%CurrentHorizontalResolution% /y:%CurrentVerticalResolution%