Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _x, _y = term.getSize()
- function drawMenu()
- paintutils.drawFilledBox(1, 1, 100, 100, colors.white)
- paintutils.drawFilledBox(1, 2, 10, 100, colors.lightGray)
- paintutils.drawLine(1, 1, 100, 1, colors.gray)
- paintutils.drawLine(1, 13, 10, 13, colors.gray)
- end
- function drawMenu1()
- drawMenu()
- term.setCursorPos(_x/2-4, 1)
- term.write("Obsidian")
- term.setBackgroundColor(colors.lightGray)
- term.setCursorPos(2, 15)
- term.write("Games")
- term.setCursorPos(2, 17)
- term.write("Settings")
- term.setCursorPos(2, 19)
- term.write("Exit")
- end
- drawMenu1()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement