Page 1 of 1

Additional ideas!

Posted: Sat Sep 09, 2017 9:12 am
by Dimetrianos
So, I was wondering if expanding the color palette could be a thing? When I first started, the color palette seemed adequate, but as my mapping gets more complex, I would love to see a much broader range on the palette! Also, would it be possible to implement the pencil tool to have changing shape? For instance, it writes as a square block right now, but the ability to toggle it to a round edge would be amazing!

Dim

Re: Additional ideas!

Posted: Sun Sep 10, 2017 12:12 pm
by AtomSwitch
I'm not really sure what my options are when it comes to expanding the color palette, or what impact that may have on performance. It's not something I'll be able to look into for a while, but when I am able I'll have to dig into the code implementation of that feature and see what is possible.

Likewise, I'm not quite sure for the pencil tool. Right now, the pencil tool works off of a vector spline system. So the pencil plots a spline path and then applies a stroke to that path matching the width of the selected pencil size. Because of this, lines have rectangular endpoints. On large brush sizes, a short brush stroke will then appear to be from a square brush, but there isn't actually a defined brush shape.

Josh and I played around with a <b>lot</b> of different approaches to the drawing tool during development, but fancier / higher fidelity approaches all suffered large performance hits and/or file size increases. Because of the natural "fogginess" of fog of war, we were able to implement that as a raster style layer (defined by pixels, instead of vector splines) that is rendered at about 1/4 the size of the map space, then scaled up (which is why it has that soft edge to it). That approach works great for fog, but would be disastrously blurry for small line drawing.

A more robust drawing system in general, maybe even split off as its own mapping tool, would be something really awesome to do for the future, but would be a major undertaking. It's something on the "wishlist", but not something that's likely to be doable for quite a while.