A script to process pictures/drawings of people to turn them into sprites usable in 2d game engines like GameMaker
A basic demo of what you can expect this script to do: Please note that the script expects the part to be extracted to be in the middle of the image. It samples the edges to determine the range of pixels to be filtered out, so if the edge corners are covered by the parts to be extracted, you'll have issues.
|
V
The background doesnt have to be a perfect green screen. so long as it is distinct from the target, and is somewhat uniformly colored, it will be filtered out. The target shouldnt be similar in color to the background; if it is, you'll see parts of the target parts filtered out
Try turning yourself into a sprite!
The default color palette in the code is fantasy24 on Lospec
For pencil drawings and doodles, anything with just a single color, rename your image so it has "pencil" in the name
|
V
Yes, I have the artistic ability of a drunk walrus. Hopefully, you're much better.
|
V