I want to implement the ability for people to change the way players characters look, and by that I mean that I want to give the players the ability to change the colors of their given hero. Which is an png. The only problem is that I need the image as a sprite to make use of LibGDX’s flip and scale functions to the nearest pixel, so I retain that awesome pixel-y look. No methods, not even Pixmap, are giving me what I need. I thought about taking a BufferedImage, saving the data, writing the data as a new player png (Which I may have to do so I dont keep loading in the same stupid thing and messing up) and then just assigning that to the player. But what if the player makes 10’s or hundreds of characters? I would have 10’s of hundreds of .pngs of different heroes my player would probably not use. I also noticed that when Notch made Minicraft for LD22 a long time ago, he performed exactly what I would like to do!
My question is, with LibGDX’s given library, is there a way I could copy Notch’s Minicraft attempt at saving the images as grayscale, and just applying colors at runtime?