Tilemap vs Sprites for large layouts?

Not favoritedFavorited Favorited 0 favourites
  • 5 posts
From the Asset Store
This is a black tileset with 2 tilemaps, props, one animated character and more.
  • What should be better in terms of mobile performance for large layouts design:

    A) Tileset of 3-5 tiles total, with each tile of 1024x1024px and entire tilemap size of 15000x15000px (single but large object);

    B) Single sprite 1024x1024 with 3-5 animation frames placed across layout (many big but static objects).

  • A tilemap is generally better. But your tiles are huge, which means that with 5 tiles the full image will be pretty big (2048x3072px). According to Ashley, it's not recommended to exceed 4096 pixels in either dimension in a single texture.

    So don't add more than 6-8 tiles to the tilemap. Or better yet - compose the backround from smaller images.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Thanks dop2000!

    the full image will be pretty big (2048x3072px).

    As I understood he says: "The size of the object in the layout doesn't matter" and then later he probably means sprite: "cannot be over 4096 pixels". Don't you think?

    So don't add more than 6-8 tiles to the tilemap.

    Do you mean add 6-8 to the tileset or to the tilemap object on the layout?

  • The image inside the sprite/tilemap (in the animation editor) should not exceed 4096 pixels. You can stretch or copy the object on the layout, it won't matter. What's important is the texture size. On older mobile phones your game won't work if it's over 4096 px.

  • should not exceed 4096 pixels.

    Yeah, I understand this. Thank you, bro!

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)