Advertisement
nicolas972

animation

Aug 23rd, 2014
169
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.23 KB | None | 0 0
  1. local i=1
  2.  
  3. while true do
  4.     term.setBackgrounColor(colors.black)
  5.     term.clear()
  6.     image = paintutils.loadImage("toto"..tostring(i))
  7.     paintutils.drawImage(image,1,1)
  8.     sleep(0.06)
  9. if i == 6 then
  10.         i = 1
  11.     else
  12.         i=i+1
  13.     end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement