Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6813105
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T20:31:52+00:00 2026-05-26T20:31:52+00:00

My cocos2d-iphone game has tiled maps. The tilesets textures are rather big. I got

  • 0

My cocos2d-iphone game has tiled maps. The tilesets textures are rather big. I got around 5 tilesets and each one is 2048×2048 (retina).

My maps are around 80×80. They have around 8 layers and each one is obviously using one tileset.

The frame rate falls (it goes around 30 sometimes. I know 30 is rather aceptable, but still, I want 50+).

So given that textures are huge I can’t afford to make many layers (since each one loads a texture of these).

So how about I divide my tileset textures into much smaller tilesets (like 1024×1024 each)? That will allow me to use many more layers for my maps, right?

Are there any other tips for huge retina display tile maps?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T20:31:53+00:00Added an answer on May 26, 2026 at 8:31 pm

    Texture with 2048×2048 and 32-Bit colors equals 16 MB (!) of memory. Five times that is 80 MB of memory just for the textures. Ouch! For a tilemap that is relatively tiny (80×80) that’s an enormous amount of texture memory.

    First order of optimization would be to use PVR textures if you really can’t reduce the number of tilesets or images within them. You lose some image quality but the memory consumption will go down dramatically, and the rendering performance of PVR textures is a lot better. Of course while working with Tiled you’ll have to use the (presumably) PNG texture which you then convert to PVR for use in the project, for example using TexturePacker.

    8 tile layers can be pretty hefty, but depends on how you use them and how many tiles of each layer are actually drawn. Try this: set all but one layer to visible = NO. Then turn the layers back on one by one and see how that affects the framerate.

    Finally you should know that Cocos2D’s tilemap implementation is utterly inefficient past a certain number of tiles. There have been attempts to improve the tilemap renderer, for example this one (HKTMXTiledMap) may be worth giving a shot.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm developing an iPhone game using cocos2d. As the player moves around and scores
I am using cocos2d to build an iPhone game. It's mostly done, but along
I am currently developing a card game for the iphone using cocos2d. I am
I have a Cocos2d/openGL iPhone game. It's a universal app and I'm dealing with
I just finish my iPhone game using cocos2d, and I want to submit it
I'm making an iPhone game in cocos2d. I was wondering how I would make
I just finish my iPhone game using cocos2d. But before I put it on
I am developing a game with cocos2d-iphone and I am going to add in
I am coding my first iPhone game with cocos2D. And I want to save
If I wanted to make an iPhone game like this one (ignoring the multiplayer

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.