Is there any possible way to let my players use their own sprites?
Well lads, I'm stumped. I have spent the last five days or so brainstorming possible methods to let my players create their own characters by using their own sprites and setting up their own XML files and whatnot. Unfortunately, Unity seems to be built specifically to constantly block any possibility of creating a moddable game. My problem is that I am trying to create a single (2D) skeleton that will change what sprite it uses based on how the character is set up. I can do the "setting up" part just fine but when I actually tried to switch sprite at runtime, well... See attached images. I did manage to load in the "alternate skin" PNG just fine, but instead of achieving what I'd hoped - "trick" Unity into keeping the same skeleton and meshes, but with the pixels actually changing- it just resulted into the unassembled spritesheet being loaded. After spending so much time and effort trying to create this, I'm afraid this will sink the whole project since player customization was a big part of my idea. I have no idea how else I could go about this, since, as far as I know, there is no way to create Unity assets from a completed build and this just won't work with anything other than that.
This is how my character looks without the PNG change, below is how it looks after the PNG change. The PNG itself is exactly the same as the "standard one", with color values shifted around a bit so I could see the difference.
Your answer
Follow this Question
Related Questions
Shader Graph - Inherit from Sprite Renderer or Image Component 0 Answers
Unity 2019.2 LWRP breaks sprite masks alpha 0 Answers
Sprite not working,Sprites not working 0 Answers
Change sprite onTriggerEnter2D 0 Answers
Huge issue of inconsistent sprite rendering across different Mac / Win PCs (same build) - help? 1 Answer