How to set a background with an image

I have a large image that I would like to use as the background in my game. How do I do this with tiled map editor? I’m using libgdx

Within Tiled, create a new layer and pick Image Layer. You can set the image in the layer’s properties.

2 Likes

While using an image layer works, note that it is also possible to place the image as a tile object on an object layer. The layer can be locked to avoid accidental interaction with this large object.

Using an object layer and tile objects has several advantages:

  • The image can be scaled and rotated.
  • You could use multiple images to compose the background and select / modify them more comfortably.