Help with keeping resolution
Posted: Thu Dec 12, 2024 12:21 am
Hello,
So, I'm relatively experienced with Lua already, and I'm looking to make a small game to familiarize myself with this engine. I want to make a low-resolution racing game, so I found a library that would keep the resolution of the game when you resize it, so hopefully the game would run on any resolution. The library I'm using is resolution solution (https://github.com/Vovkiv/resolution_solution). I tested this library with some text and images, and it works fine, but then I tried using some love.graphics drawing functions, and then I noticed a problem. These functions don't actually draw to the target resolution, so they end up looking much more smooth than they should. I'll attach my current program that shows this issue. Basically, no matter how you resize the window, it will be rendered the same way every time. I either need a different library that keeps the resolution that also works with love.graphics, or a library that draws at the target resolution every time, so if you have any suggestions, that would be very helpful!
So, I'm relatively experienced with Lua already, and I'm looking to make a small game to familiarize myself with this engine. I want to make a low-resolution racing game, so I found a library that would keep the resolution of the game when you resize it, so hopefully the game would run on any resolution. The library I'm using is resolution solution (https://github.com/Vovkiv/resolution_solution). I tested this library with some text and images, and it works fine, but then I tried using some love.graphics drawing functions, and then I noticed a problem. These functions don't actually draw to the target resolution, so they end up looking much more smooth than they should. I'll attach my current program that shows this issue. Basically, no matter how you resize the window, it will be rendered the same way every time. I either need a different library that keeps the resolution that also works with love.graphics, or a library that draws at the target resolution every time, so if you have any suggestions, that would be very helpful!