Hey everyone,
to be honest, i am not that sure, if i placed my question on the right spot in this Forum, since most threads in this category are about 3D calclation and things like that. So feel free, to tell me, if i should chose another section for this question.
But now, to my Question:
Lets assume we are creating a 2d Plattformer. We want our main character to be able to change his apperance, for example: Haircolor, Weapon, Pants... lets assume we got 3 slots of "Equipment", with 5 options for each. That makes (5*5*5 i guess) 125 possible Combinations.
Do i have to create sprite sheets for every combination? And call them by well.. checking a 125-if-Condition-Loop to pick the right sprite sheet, when changing the apperance in Game?
Guess thats - besides the point of taking at least 9000 years of coding - the least effective way regarding memory...
How is it done properly? Is there something like a easy to implement "on the fly sprite-sheet-creation"?
I would be very grateful for your help!