Free Desert Dunes Background: Parallax Layers for Side-Scrollers (1920 × 1080)

Desert dunes and mesas in five looping layers. Five layers that loop left to right with no seam, with the scroll speed of each layer in a JSON file. Drawn by our own code. Free with credit, no login.

  • 5 layers
  • 5 layers
  • 1920 × 1080
  • Seamless loop
  • PNG with alpha
  • CC BY 4.0

The background and its 5 layers

The previews play the real files. Press View and download for every file and format.

Desert Dunes Background

5 layers · 1920 × 1080 px · seamless loop

Desert dunes and mesas in five looping layers.

Sky Layer

Layer 1 of 5 · scroll speed 0.05 · solid

Layer 1 of the desert dunes background, on its own.

Mesas Layer

Layer 2 of 5 · scroll speed 0.15 · transparent

Layer 2 of the desert dunes background, on its own.

Dunes Far Layer

Layer 3 of 5 · scroll speed 0.35 · transparent

Layer 3 of the desert dunes background, on its own.

Dunes Near Layer

Layer 4 of 5 · scroll speed 0.6 · transparent

Layer 4 of the desert dunes background, on its own.

Ground Layer

Layer 5 of 5 · scroll speed 1 · transparent

Layer 5 of the desert dunes background, on its own.

How to use these assets

Animated sprites come as one PNG sprite sheet each, with a frame map next to it: a TexturePacker-style JSON (frame names, sizes, animations and speed) that most 2D engines read, plus a Godot 4 SpriteFrames file. Tilesets come with Tiled .tsx files.

Phaser

Load the PNG and JSON with this.load.atlas and build each animation from its frame names, as in the code below.

Godot 4

Drop the PNG and the .tres in your project and pick the .tres as the SpriteFrames of an AnimatedSprite2D. All animations and speeds are already set.

Unity

Set the texture to Sprite (Multiple), slice by cell size (it is in the JSON and on each card) and drag the frames onto the scene to make an animation.

Tiled

Open the .tsx tileset. Top-down sets have corner (Wang) sets, so the terrain brush paints shores, paths and kerbs with the right edge tiles.

this.load.atlas('knight', 'knight.png', 'knight.json');   // in preload()

this.anims.create({                                       // in create()
  key: 'run',
  frames: this.anims.generateFrameNames('knight', { prefix: 'knight-run-', start: 0, end: 7, zeroPad: 2 }),
  frameRate: 16,
  repeat: -1
});
const hero = this.add.sprite(200, 300, 'knight');
hero.setOrigin(0.5, hero.frame.customData.pivot.y);       // the pivot in the JSON is at the feet
hero.play('run');

Every PNG has clean transparency: the colour under see-through pixels is filled in from the edges, so scaled sprites get no white or dark halo.

How to credit (CC BY 4.0)

All assets are made by vinish.dev and released under Creative Commons Attribution 4.0. Use them in personal and commercial games and apps, change them and share them. The one condition is credit:

  1. Copy a credit line below.
  2. Paste it where players can see it: your game's credits screen, store page or About screen.
  3. If you changed an asset, add that after the credit, for example "recoloured".

Used many assets? One line for the whole library is enough:

2D game assets by vinish.dev (https://vinish.dev/free-2d-game-assets), CC BY 4.0

Or credit one asset by name:

"Desert Dunes Background" by vinish.dev (https://vinish.dev/free-2d-game-assets), CC BY 4.0

Questions

Can I use these in a commercial game?

Yes. CC BY 4.0 allows commercial use. Put the credit line in your credits or About screen.

Do I need an account?

No. There is no login, sign-up or email. Press View and download and the files are yours.

Can I change them?

Yes. Recolour, resize or cut them. Keep the credit and mention that you changed them.

More from vinish.dev