Code: Select all
love.window.setMode(1024,768)
Code: Select all
love.window.setMode(1024,768)
Code: Select all
love.graphics.setLineStyle("rough")
love.graphics.setLineWidth(1)
love.graphics.setColor(255,0,0)
love.graphics.line(0,767,1024,767)
Code: Select all
love.graphics.line(0.5, 767.5, 1023.5, 767.5)
This explains it! I ran into this because I am writing a pseudo 3d racing game which consists mostly of horizontal lines and saw a few unexpected empty lines. Thanks for your help!you're supposed to specify the pixel centers
Users browsing this forum: Bing [Bot], Google [Bot] and 7 guests