Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- term.setBackgroundColor(colors.black)
- term.setTextColor(colors.white)
- bC = colors.red
- function button(bText, xA, xB, zA, zB)
- paintutils.drawLine(xA, zA, xB, zB, bC)
- term.setCursorPos(xA+1, zA)
- term.write(bText)
- term.setCursorPos(1, 1)
- end
- button("Forward", 2, 9, 3, 3)
- button("Back", 2, 9, 5, 5)
- button("Left", 2, 9, 7, 7)
- button("Up", 11, 19, 3, 3)
- button("Down", 11, 19, 5, 5)
- button("Right", 11, 19, 7, 7)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement