Hi all,
I need to create an outline from a provided Phaser path object (or, if it’s easier, a Tiled polyline).
So, what I mean is that, from an existing path, I’d like to create a new path that is an outline of X pixels from that path.
There’s a good, if largely incomprehensible tutorial on the logic here: https://assist-software.net/blog/how-draw-outline-around-non-closed-polygon
Before I break my tiny little mind attempting to work my way through that, I just thought I’d ask if anyone knows of an existing plugin, function or at least, Phaser or Javascript oriented tutorial?
Cheers!