Skip to content

A script to process pictures/drawings of people to turn them into sprites usable in 2d game engines like GameMaker

License

Notifications You must be signed in to change notification settings

BobDev94/Pic2Pix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pic2Pix

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.

Capture

               |
               V

Sprited

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

pencil

                |
                V

transparency_test1

Yes, I have the artistic ability of a drunk walrus. Hopefully, you're much better.

zom_idle

                |
                V

c2pixzom_idle

About

A script to process pictures/drawings of people to turn them into sprites usable in 2d game engines like GameMaker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages