Something similar to 'setFilter' using push library
Posted: Fri Aug 06, 2021 2:50 am
Am currently making my first game right now. I wanted to scale up my game because I am using pixel graphics, and the window is quite small when it's 256 x 256. I know when using to scale your game you can use something like in order to make the image not blurry when upscaled. However, I was just wondering if there was a way to make images upscale without being blurry using the push library.https://github.com/Ulydev/push Currently, my push code looks like this:
Code: Select all
love.graphics.scale()
Code: Select all
sprites.player:setFilter('nearest', 'nearest')
Code: Select all
push = require 'libraries/push/push'
push:setupScreen(256, 256, 768, 768, {fullscreen = false})
function love.draw()
push:start()
--draw character
push:finish()
end