Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI("Test/GIF")
- os.loadAPI("Test/blittle")
- local mon = peripheral.find("monitor")
- mon.setTextScale(0.5)
- mon.setBackgroundColour(colors.black)
- mon.clear()
- local fileName = "Test/Carte/Carte.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 10, mon)
- local fileName = "Test/Carte/CarteA.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 10, mon)
- local fileName = "Test/Carte/Carte2.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 10, mon)
- local fileName = "Test/Carte/Carte3.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 10, mon)
- local fileName = "Test/Carte/Carte4.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 10, mon)
- local fileName = "Test/Carte/Carte5.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 10, mon)
- local fileName = "Test/Carte/Carte6.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 10, mon)
- local fileName = "Test/Carte/Carte7.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 10, mon)
- local fileName = "Test/Carte/Carte8.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 100, mon)
- local fileName = "Test/Carte/Carte9.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 100, mon)
- local fileName = "Test/Carte/Carte10.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 100, mon)
- local fileName = "Test/Carte/CarteJ.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 100, mon)
- local fileName = "Test/Carte/CarteQ.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 100, mon)
- local fileName = "Test/Carte/CarteK.gif"
- local x, y = mon.getSize()
- local image = blittle.shrink(GIF.toPaintutils(GIF.loadGIF(fileName)))
- blittle.draw(image, 10, 100, mon)
Advertisement
Add Comment
Please, Sign In to add comment