Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
18
Task/Pinstripe-Display/Lua/pinstripe-display.lua
Normal file
18
Task/Pinstripe-Display/Lua/pinstripe-display.lua
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
function love.load()
|
||||
WIDTH = love.graphics.getWidth()
|
||||
ROW_HEIGHT = math.floor(love.graphics.getHeight()/4)
|
||||
love.graphics.setBackgroundColor({0,0,0})
|
||||
love.graphics.setLineWidth(1)
|
||||
love.graphics.setLineStyle("rough")
|
||||
end
|
||||
|
||||
function love.draw()
|
||||
for j = 0, 3 do
|
||||
for i = 0, WIDTH, (j+1)*2 do
|
||||
love.graphics.setColor({255,255,255})
|
||||
for h = 0, j do
|
||||
love.graphics.line(i+h, j*ROW_HEIGHT, i+h, (j+1)*ROW_HEIGHT)
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue