Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --functions
- function key(l,xs,x,y)
- --for yl = y, y + ys - 1, 1 do
- for xl = x, x + xs + 1, 1 do
- paintutils.drawPixel(xl,yl,colors.gray)
- term.setCursorPos(x + 1,y)
- print(l)
- end
- --end
- end
- --main
- paintutils.drawPixel(1,1, 0x8000)
- term.clear()
- y = 2
- for x = 1, 13, 1 do
- key(,,x,y)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement