Drawing Canvas Help & Info:
This tool lets you draw and plan UIs and graphics for Stormworks' Screens.
Here you'll find important information about the tool!
Notes about shapes:
Please have in mind that what you see displayed in this tool, often will not match what you see in-game, despite my best efforts.
Always double check how things are looking in-game, especially with triangles and circles.
-Line: OK, slightly different at odd angles.
-Triangle: OK, slightly different at odd angles.
-TriangleF: OK, slightly different at odd angles.
-Circle: Doesn't always match, more so with larger circles.
-CircleF: Doesn't match at all (cause in-game circleF is an ugly monster).
I was not always able to replicate Stormworks' way of drawing shapes, sometimes because it's hard, sometimes
because I couldn't be bothered... like with the ugly circles in-game that aren't even circles.
Options Explained:
-Color Fix: Does some math on the colors so they match better in SW screens. Gamma Fix function by XLjedi.
-Compact: Reduces the number of characters in a script by minimizing function names, e.g: sc = screen.setColor.
-Filled-Shape Fix: AMD and NVIDIA draw full rectangles/triangles differently. By adding 0.5 to the Y position, we fix it for both cards.
-Function Mode: Takes the entire drawing, turns it into a function with (x,y) parameters so you can move it around with your script. e.g: you what the same graphic at different places. Such as a button or icon.
-Color Grouping: Groups shapes by color, ignoring the order you drew them. Uncheck this if you have complex patterns or in-game doesn't look as it should.