Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- mon = peripheral.wrap("right")
- term.redirect(mon)
- local x, y
- pos = 18
- function Clear()
- mon.clear()
- term.clear()
- mon.setBackgroundColor(colors.black)
- term.setBackgroundColor(colors.black)
- end
- function Draw()
- term.setCursorPos(6,1)
- mon.setTextScale(2)
- term.write("Bienvenue Cher")
- term.setCursorPos(3,2)
- term.write("dada2697 et oxonico33")
- end
- function Term()
- while true do
- --event,side,xpos,ypos = os.pullEvent("monitor_touch")
- --print(xpos.." | "..ypos)
- if pos == -25 then
- pos = 18
- end
- mon.clear()
- mon.setCursorPos(pos,4)
- mon.write("Oxonico33 et Dada2967")
- sleep(1)
- pos = pos-1
- Draw()
- end
- end
- Term()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement