How to work with a very big map

Hi,

in the wiki you can find these two recommendations:

  • The smaller the images dimensions are the shorter the rendering time gets.
  • Images bigger than 2000px may not work well especially on mobile devices where they may not load.

For a more in-depth explanation how rendering works, you can also check Silver-Streak’s reply here:

What I get from this information is that it really depends on several factors. Is your game for PC or mobile? What else happens on the screen? Each game is different and you probably have to try different solutions. As long as you are not encountering any problems it can be also a waste of time to optimize something that actually works.

As you wrote, tilemaps are not helpful in your case but you could import the parts of your map as TiledSprite. To prevent tiling you just set the measurements according to the image size. Tiled sprites are just background objects that don’t do anything in the game. (Edit: It doesn’t matter from the rendering perspective whether the background is a sprite or tiled sprite object).

Btw:

Do you mean the scene or the viewport? I guess the latter otherwise you would not be able to load the parts of the map dynamically.