Menu

limits on number of tiles in one bitmap?

2003-06-13
2013-04-30
  • M. Razid Black

    M. Razid Black - 2003-06-13

    I tried to import a bitmap containing 2762 8x8 tiles with no success. Is there a limit - other than my RAM?

    Also, the tile editor doesn't function for me (no edits show up in the edit window!

     
    • Mike Wiering

      Mike Wiering - 2003-12-30

      Yes, the number of tiles is limited. They must fit in a row on a single bitmap, which can't be wider than 65535 bytes in Windows. 65535 / 3 (24 bit images) = 21845 pixels total width. A tileset with width 8 can have 21845 / 8 = 2730 tiles.

       
    • weak

      weak - 2005-06-27

      i can't see that limit in windows.

      i'm currently using a 512*2560px 24bit bmp for our background layer.
      i just have to split it into two maps with tilestudio cause it can't handle all the tiles.

      would be nice if you could improve that. otherwise, fantastic tool!

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.