76
Goko Dominion Online / Re: Misc. things that still bug me about Goko
« on: February 11, 2013, 08:59:19 am »Once you take into account different languages with different sizes, it's easier to assemble them out of parts. Plus, it makes errors easier to fix - change the part instead of making a new image file.
You know, using the actual image that was used to print the card will probably make errors impossible.
As far as other languages, well, it's just another set of images to store, plus a localization file.
I think this is an optimization point. While I agree that it is more error prone, storing the colored frames once in memory and writing the text dynamically to each copy on screen is the correct way to do this from a programming standpoint.
I think not doing this is what caused a lot of the earlier memory bloat we saw (I don't know, but I had suspected they were loading in all card images for some reason or another).