You are viewing a potentially older version of this package. View all versions.
mr_hat-DrawableWhiteboard-0.0.4 icon

DrawableWhiteboard

[v81] Adds in a whiteboard to draw on

Date uploaded 5 days ago
Version 0.0.4
Download link mr_hat-DrawableWhiteboard-0.0.4.zip
Downloads 4
Dependency string mr_hat-DrawableWhiteboard-0.0.4

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2305 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2305
TeamXiaolan-DawnLib-0.9.25 icon
TeamXiaolan-DawnLib

A modern API for Lethal Company content and all sizes of mods [V81]

Preferred version: 0.9.25
mr_hat-HatLib-0.0.4 icon
mr_hat-HatLib

Library for my mods

Preferred version: 0.0.4

README

Drawable whiteboard

Adds a whiteboard that can be drawn on. Comes with:

  • Colour picker wheel
  • Brush/Eraser tools
  • Clear all button
  • Undo button
  • Export as PNG button
    • Exports to the plugin folder of this mod; \..\..\BepInEx\plugins\mr_hat-DrawableWhiteboard\Exports\

About Points

A point is basically a brushstroke sample that stores the position, colour, radius and some other data. Points are accumulated with use of the brush tool, eraser tool and the drawing history. The speed at which you move your cursor whilst drawing on the whiteboard will also accumulate points faster. Currently, the cap is 30 points per second at full speed. Below is a table that roughly estimates the amount of drawing time it would take to reach the limit whilst moving the cursor at full speed: | Point Budget | Estimated Drawing Time | | 2,048 (2K) | ~1 min 8 sec | | 4,096 (4K) | ~2 min 17 sec | | 8,192 (8K) | ~4 min 33 sec | | 16,384 (16K) | ~9 min 6 sec | | 32,768 (32K) | ~18 min 12 sec | | 49,152 (48K) | ~27 min 18 sec |

Future Plans

  • Eliminating point accumulation when using the eraser tool by tracking which areas of the whiteboard contain drawing

Recommended Mods

Credits

CHANGELOG

0.0.6

  • Fixed drawing space not fully covering whiteboard (like 3 pixels)
  • Fixed tool settings not restoring when the board is empty
  • Changed controls for brush size from - and + to Scroll Wheel Up and Scroll Wheel Down
  • Added ability to change the brush resize step, using - and +
  • Added Colour Eyedrop tool
  • Added a colour hex field (#RRGGBB) inside the colour wheel menu
  • Added an alternative simple dot icon cursor for the brush and eraser, false by default in the config
  • Removed colour palette icon in favour of just a colour that shows the selected colour

0.0.5

  • Fixed README whoopsie

0.0.4

  • Changed StartingBrushSize to use a slider in the config
  • Changed to Ship Upgrade rather than Decor so the whiteboard always in the store
  • Changed PointBudget default from 4K to 8K
  • Added 32K and 48k limits to PointBudget config
    • More info in README

0.0.3

  • Fixed exporting to wrong folder (DrawableWhiteboard\Exports instead of mr_hat-DrawableWhiteboard\Exports)
    • Artifact leftover from during development

0.0.2

  • Added a popup on successful export with export locations, also added to README
  • Removed inclusion of unused material in assetbundle
  • Updated dependencies

0.0.1

  • Release