Created
February 22, 2012 21:00
-
-
Save blt/1887235 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Unless I'm mistaken the default line width is 1, presumably pixels. Straight | |
-- one-pixel lines are invisible in my setup. | |
function love.draw() | |
-- Invisible | |
love.graphics.setLineWidth(1) | |
love.graphics.rectangle("line", 64, 64, 32, 32) | |
-- Visible | |
love.graphics.setLineWidth(2) | |
love.graphics.rectangle("line", 0, 0, 32, 32) | |
end | |
-- I'm using | |
-- | |
-- $ love --version | |
-- LOVE 0.7.2 (Game Slave) | |
-- | |
-- on a Debian Testing system, installed right out of Debian's repo. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment