Original Post — Direct link
about 2 years ago - /u/The_Easy_Target - Direct link

Originally posted by CaptSarah

Honestly, I ask myself this everytime they shuffle. For example, this time the only actual differance is they inserted Attach, Fortitude and Fated into them, this pushed every single icon to the left in numeric order. But whats more weird is just yeeting Attach in seperate from the other 2 new keywords. Even then, they could have been made 59, 60 and 61 and no other sections would have been impacted at all.

But due to the changes most of us (unless you used icons 0-4) now need to rename all of our decks lol.

The order seems strange, almsot random, yet they are still somewhat paired (regions are all in a similar spot, except bandle which got inserted.) While the wild cards for example are just everywhere.

Hi. I am one of the engineers that worked on the sprite system. Maybe I can shed some light on this behavior.

First of all congratulations on finding a way to use an internal system to flavor deck names :).

To save RAM (and bandwidth, diskspace, and battery consumption), the individual sprites are packed into a small number of sprite atlas assets. The packing needs to:

  • Not leak (temporary) sprites for future sets,
  • avoid wasting "empty space", and
  • be easy to use for the artists.

Internally the sprites are individual assets with a filename, e.g. Demacia.png. Artists maintain lists of which sprite goes into which atlas. Then an automatic process builds the sprite atlas assets from the lists.
To keep the number of assets low we move the sprites for new sets into the "main list" once a set has been released, and regenerate the atlas assets. As the sprites are ordered alphabetically the position of the sprites changes...

Internally the sprites are addressed by their filename, e.g. , as using a number cannot handle more than one sprite atlas. Many names are a bit obscure, but the faction names are pretty straight forward.