Hi, we basically have 10k png for the characters/heroes. and we plan to let the player choose upon login, this flow currently works as we only have three selections as of the moment, wizard, archer and warrior. then we just load which spritesheet to use based on the spritesheet ID the player selected.
My question is what would be the most efficient way to do the 10k characters? do we have to create a .ts file for each of those and import it like what we did for wizard and archer? would it be possible to only have 1 ts file for all the characters and just let the image/png file to be dynamic depending on the player's selected character? is this possible? or not since all spritesheet needed to be compiled during build?
@Spritesheet({
id: HeroType.Archer,
image: require('../assets/images/monsters/archer.png'),
framesWidth: 5,
framesHeight: 8,
width: 256,
height: 512,