Sauerworld Forum

Another (online) tool to create Pixel arts - Imtoc

Salatiel

  • **
  • 87
  • +20/-0
    • Projects by Salatiel
Another (online) tool to create Pixel arts - Imtoc
« on: January 02, 2019, 04:03:07 pm »
Hello!
 IMTOC is a javascript/website that allows you to convert a txt containing color information to an executable .cfg format, without having to install anything.



You just need to transform an image into a text file using ImageMagick (this can easily be done online as well)



When importing the text and converting, it will be organized as a cubescript file. You can run it ingame and draw the image line by line, similar to the old CubeArt made by SomeDude, but now you only have to do half the work ;D







Link: https://salatielsauer.github.io/IMTOC-Converter/
(tested only with chrome, it might look visually strange in other browsers)

There is a section on the page where you can find some links to sites that convert images to txt, if you know how I can implement this function on the page itself, tell me :D

Ingame Guide:
After putting the cfg file in the sauerbraten folder and running it ingame (/exec filename.cfg)...
/drawloadimg the name of the image should be the cfg name you downloaded earlier.
/drawreset will reset the 'pixel id' value to 0, you must do this every time you start a new image.
/drawundo this subtracts the width value from the 'pixel id', then you can re-draw this line.
/drawrow this is the command that will actually draw the pixel/cube.

Many thanks to RaZgRiZ for helping me with the cubescript part.

have fun and leave your feedback :)
« Last Edit: January 02, 2019, 04:06:01 pm by Salatiel »
@Salatiel#5274

Doko

  • **
  • 70
  • +4/-0
Re: Another (online) tool to create Pixel arts - Imtoc
« Reply #1 on: January 02, 2019, 06:06:03 pm »
Amazing  ;D

Salatiel

  • **
  • 87
  • +20/-0
    • Projects by Salatiel
@Salatiel#5274