Advertisement
despeskarm

animation

Mar 31st, 2015
223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.30 KB | None | 0 0
  1. local i=1
  2.  
  3. while true do
  4.         term.setBackgroundColor(colors.black)
  5.         term.clear()
  6.         image = pintutils.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