# Game Backgrounds for 2D Scenes and Parallax

> Generate video game backgrounds as painted plates, parallax layers, or 360 skyboxes. Export a PSD, a Godot scene, or Unity sprites with parallax.json.

---

A video game background is the image behind the action: a painted plate, a stack of layers that scroll at different speeds, or a sky the camera can turn inside. Describe the place and how the camera sees it, and Layer paints that plate. Split it when the game scrolls. Draw a skybox when the player looks around.

[Environment art](/use-cases/environment-art) is the wider job of concepting a world. [Game location design](/use-cases/game-location-design) paints a place players recognize, as one flat image. This page is the asset that ships behind the camera.

## Painted Plates for the Scene

Start with the shot the player actually sees.

**Aspect ratio first**
Ask for the frame the game uses. An ultra-wide strip fits a side-scroller. A taller plate fits a vertical mobile scene. [Reframe](/features/reframe) extends a plate that is already approved when a layout change needs more canvas, including wider parallax layers, without repainting the scene.

**One place, one style**
Name the game and the rendering, such as hand-painted, pixel art, or a painted dusk city. Custom style training keeps the next plate in that same treatment. Generate the alley, the rooftop above it, and the street beyond in one session so they read as one game.

**No characters unless you ask**
A background is the set, not the cast. Say so when the plate should stay empty. Characters belong on their own layer, cut out with [background removal](/features/background-removal) and composited over the plate.

## Parallax Layers That Scroll

A single painting cannot scroll. Near trees have to move faster than the hills, and the hills faster than the sky, without a hole where a layer used to be.

**Two to six layers**
Split the plate into two to six depth layers. Five is the default, cut where the scene's own depth already separates. You can set the count. Each layer is filled in behind the ones in front, so a scroll does not reveal an empty gap.

**A loop, when the level repeats**
A looping split joins the left and right edges before it cuts the layers. Use that for a background that repeats as the player runs. Leave it off for a one-shot vista.

**What you download**
The result is a layered PSD, far to near, so an artist can still nudge a layer. Godot's zip includes a scene you can instance in a level. Unity's zip is the layer sprites, their import files, and parallax.json: place every layer at the same point and move each one by its scroll factor. Neither zip is a stack of unnamed PNGs.

## Skyboxes for a 3D Camera

When the camera orbits instead of scrolling sideways, the background is a skybox.

Create skybox draws a panorama from a description of the sky and the world around the player. Download it as an equirectangular image, a cross, or six cube faces, in PNG, HDR, or OpenEXR. Unity, Unreal, and Godot all take those projections. A skybox fills the frame edge to edge, so it is not a transparent plate and it is not a parallax stack.

## Where a Background Sits in the World

Backgrounds are one layer of a place. The ground the player stands on is often a [tileable texture](/use-cases/texture-generation) or a [tile set](/use-cases/game-tilesets), not the plate behind them. Landmarks and biomes still start as [environment art](/use-cases/environment-art) when you are deciding what the world is, and as [location paintings](/use-cases/game-location-design) when a level needs a place players recognize before anything moves.

Generate the plate once that decision is made. Split it if it scrolls. Draw the sky if the camera turns. The painting and the scrolling asset are not the same file, and Layer keeps both in the session.

## Frequently Asked Questions

### Can Layer generate a 2D game background?

Yes. Describe the place and the camera, including the aspect ratio the game uses, and Layer paints a background plate. A wide strip suits a side-scroller. The plate is one image until you ask for parallax layers or a skybox.

### Can I get parallax layers, not one flat image?

Yes. Split a background into two to six depth layers, five unless you change it. The space behind each layer is filled in, so the layers scroll without holes. A looping split joins the left and right edges first. The result is a layered PSD. Godot's zip includes a scene. Unity's zip is the layer sprites and parallax.json, which you place and scroll yourself.

### What is the difference between a background and environment concept art?

Environment art explores the world, its biomes, landmarks, and props. A game background is the image that sits behind play, as a plate, a set of scrolling layers, or a skybox. Concept the place first when the world is still open, then generate the background the camera actually uses.

### Can Layer make a skybox?

Yes. Create skybox draws a 360 degree panorama from a description of the sky and the world around the player. Download it as an equirectangular image, a cross, or six cube faces, as PNG, HDR, or OpenEXR, for Unity, Unreal, or Godot.

### Will the background match our game's art style?

Describe the style in the prompt, or train a custom style on your existing art so later plates stay in that rendering, palette, and level of detail. A Reference Set can pin a location the way it pins a character.

---

Describe the scene behind the player and export a plate, a parallax stack, or a skybox.

---

[View original](https://layer.ai/use-cases/game-backgrounds) | [All Use Cases](https://layer.ai/use-cases)
