makrohn / Universal-LPC-spritesheet

An attempt to merge most character assets generated by the Liberated Pixel Cup into a single .xcf, where they can be mixed and matched.
330 stars 171 forks source link

Scripts complete? #62

Open konsumer opened 5 years ago

konsumer commented 5 years ago

Hi, I am working on an improved editor & more options for combining skin color/accessories/hair/etc over here. I looked through the ruby scripts in _build/ but can't seem to work out if they are complete or do anything at all. Do they work?

I am specifically interested in the color-swapping code, and have a decent start, for example, here using your palettes, but I notice that it's still got a bit of green in it, around the collar. In the ruby scripts, it seems like it only does hair stuff. Here is the code I am using to do my color-swapping. Do you have any tips on how to better handle the colors around the palette? Am I approaching this incorrectly? I was thinking maybe I should reduce the image color palettes to only the colors listed, but maybe that would make them too blocky, not sure.

If you'd like to see the start of the color-swapping in action, I put it up here

konsumer commented 5 years ago

I ended up just editing the palette in gimp to only include the ogre-colors, and it looks pretty good:

screen shot 2018-11-27 at 2 03 47 pm