0
\$\begingroup\$

I'm currently making a game using libGDX and Tiled.

Everything was running fine until I changed the tile size from 96x96 to 300x300. Most layers are still displayed correctly but the tiles of a single layer are just black. I guess that there may be a problem with the large tiles (as there are some tiles together in one tileset bitmap the texure is 2100x2100 large). Are there any upper limits for tiles and/or tilesets regarding the bitmap and texture size?

GL_MAX_TEXTURE_SIZE returns 3379 on this machine.

\$\endgroup\$
  • 2
    \$\begingroup\$ Doesn't really suggest a limit here: github.com/mattdesl/lwjgl-basics/wiki/… other than PC hardware of course. \$\endgroup\$ – Dave Jan 18 '15 at 0:05
  • \$\begingroup\$ Unless tiles are sized differently, I'd recommend a texture_array instead of an atlas. \$\endgroup\$ – Khlorghaal Jan 18 '15 at 18:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.