4144 suggested to define tileset atlases to make the drawing of maps more performant.
As far as I understood, the client draws a map tile by tile, and everytime the next tile is on a different image than the one drawn before, it has to perform a costly bind() operation to access the other file. Atlases work that way, that the graphics from several tilesets are combined into one file during runtime, to reduce the amount of needed bind() operations.
4144, please correct me if I misunderstood anything.
This commit https://github.com/themanaworld/tmwa-cl ... 0d8bf9d934 adds a new xml file maps.xml which defines a few atlases by listing several tileset graphics, and defines some maps to use those atlases.
What's needed now is to complete the file by defining more atlases, and adding the missing maps.
Would someone like to look into this?
Tileset atlases
Re: Tileset atlases
There's a script that can easily be changed to do this: tools/list-tileset-order
Former programmer for the TMWA server.