# Multiple character animations in tilemap/atlas

**URL:** <https://forum.defold.com/t/multiple-character-animations-in-tilemap-atlas/66302>\
**Category:** Questions\
**Created:** [September 14, 2020, 6:03am UTC](https://forum.defold.com/t/multiple-character-animations-in-tilemap-atlas/66302 "2020-09-14T06:03:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![WhiteBoxDev](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/whiteboxdev/32/36080_2.png) [@WhiteBoxDev](https://forum.defold.com/u/WhiteBoxDev)\
**Post date:** [September 14, 2020, 6:11am UTC](https://forum.defold.com/t/multiple-character-animations-in-tilemap-atlas/66302/2 "2020-09-14T06:11:33Z")

</div>

I personally will combine some character sprites into one atlas if they are typically loaded into the same scene. For example, if the enemies `frog` and `toad` are usually (or always) expected to be used at the same time, then I’ll put their animation frames into a combined atlas called `enemies`.

Although my way is intuitive, perhaps it’s not the best. Generally you want to use the least amount of atlases possible, as explained in the following posts:

> [@Draw calls and Defold](https://forum.defold.com/t/draw-calls-and-defold/4674):
>
> I am by no means an expert in this field, but sometimes I think about performance. Here is some thoughts about draw calls in Defold. Draw Calls What is a draw call? In a one liner: “A command that tells the GPU to render a certain set of vertices as triangles with a certain state (shaders, blend state and so on). A command like this is often more than one object.” A batch is a term that is basically means multiple commands that share the same state. If you are curios of a more in depth explan…

> [@Texture Management in Defold](https://forum.defold.com/t/texture-management-in-defold/8921):
>
> This post is for beginners of mobile game dev and aim to inform about the different areas of how to work with textures in defold. A lot of the number presented in this post are ballpark numbers and should only be seen as a recommendations, not law or fact. Makeshift Table of Content [This post](https://forum.defold.com/t/texture-management-in-defold/8921) Texture profiles Atlases Hardware compression Texture size [Common problems](https://forum.defold.com/t/texture-management-in-defold/8921/2)[Atlas properties](https://forum.defold.com/t/texture-management-in-defold/8921/16)[Resizing Images](https://forum.defold.com/t/texture-management-in-defold/8921/17)[Optimizing](https://forum.defold.com/t/texture-management-in-defold/8921/18) Texture Profiles The texture profile is only used when you bundle your package,…

(first link references the second link, second link gives the actual explanation)

There is a point where you will see diminishing returns by cramming all of your sprites into one atlas, however that particular point is not the same for everyone and really comes down to testing it yourself.

---

_[View the full topic](https://forum.defold.com/t/multiple-character-animations-in-tilemap-atlas/66302)._
