• parse(): is called once on spawn. It converts the hex string into a table containing the rgba values for each picture
  • paPi(): paints one pixel in the specified color
  • clrM: a constant that makes the colors look realistic (reduces the glow effect)
  • xO and yO: the x and y offsets of the image. This will be the upper left corner of the painted image
  • startL: an additional offset (used for big images that need more then one lua script)
  • hx: the minified textstring containing the imagedata
  • rpl, rplc: tables that contain information how to "unzip" the imagedata textstring

Adjust the code below to your personal requirements:

הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

The not minified and easy to read version of the above code:

(copy this to the upper codearea to use it for code generation)

הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Source Code

More Tools
for StormworksCLOSE

Lua Emulator and Code Editor for Stormworks running on all major browsers.Create badges to show which Stormworks standards you support.

Create badges to show which Stormworks standards you support.Create badges to show which Stormworks standards you support.

Show statistics about your Stormworks vehicle.Create badges to show which Stormworks standards you support.

Converts svg paths into Lua code to print it onto a Stormworks monitorCreate badges to show which Stormworks standards you support.