Free City at Night Background: Parallax Layers for Side-Scrollers (1920 × 1080)
A city skyline at night 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.
City at Night Background
5 layers · 1920 × 1080 px · seamless loop
A city skyline at night in five looping layers.
City at Night Background · 5 layers · 1920 × 1080 px · loops left and right
A city skyline at night in five looping layers. Move each layer at its own speed (the numbers are in background.json) and the scene gets depth.
Download the layers (PNG)
Every layer is 1920 × 1080 and repeats left to right with no seam. Layer 1 is solid, the rest have transparency.
Credit (CC BY 4.0)
Free for personal and commercial use. Paste the credit line in your credits. How to credit
Sky Layer
Layer 1 of 5 · scroll speed 0.05 · solid
Layer 1 of the city at night background, on its own.
Layer 1 of 5 · scroll speed 0.05 · solid
Download
Credit (CC BY 4.0)
Free for personal and commercial use. Paste the credit line in your credits. How to credit
Skyline Far Layer
Layer 2 of 5 · scroll speed 0.15 · transparent
Layer 2 of the city at night background, on its own.
Layer 2 of 5 · scroll speed 0.15 · transparent
Download
Credit (CC BY 4.0)
Free for personal and commercial use. Paste the credit line in your credits. How to credit
Skyline Mid Layer
Layer 3 of 5 · scroll speed 0.35 · transparent
Layer 3 of the city at night background, on its own.
Layer 3 of 5 · scroll speed 0.35 · transparent
Download
Credit (CC BY 4.0)
Free for personal and commercial use. Paste the credit line in your credits. How to credit
Buildings Near Layer
Layer 4 of 5 · scroll speed 0.6 · transparent
Layer 4 of the city at night background, on its own.
Layer 4 of 5 · scroll speed 0.6 · transparent
Download
Credit (CC BY 4.0)
Free for personal and commercial use. Paste the credit line in your credits. How to credit
Street Layer
Layer 5 of 5 · scroll speed 1 · transparent
Layer 5 of the city at night background, on its own.
Layer 5 of 5 · scroll speed 1 · transparent
Download
Credit (CC BY 4.0)
Free for personal and commercial use. Paste the credit line in your credits. How to credit
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:
- Copy a credit line below.
- Paste it where players can see it: your game's credits screen, store page or About screen.
- If you changed an asset, add that after the credit, for example "recoloured".
Used many assets? One line for the whole library is enough:
Or credit one asset by name:
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
- Free 2D Game Assets: every pack
- Free Mountain Valley Background: Sky, snowy mountains, two rows of hills and the ground in five looping layers.
- Free Forest Background: A deep forest in five looping layers.
- Free Desert Dunes Background: Desert dunes and mesas in five looping layers.
- Free Space Background: Stars, nebula and planets in five looping layers.
- Free Trees and Plants: Cartoon trees, bushes, flowers and a stump for top-down maps.
- Free Crates and Boxes: Wooden crates, cardboard boxes, cases and an ammo can.
- All 33 packs: the whole library as a list
- Free 3D Models: GLB, OBJ and STL models for games
- Free Sound Effects: WAV, OGG and MP3 sounds for games
- Free VFX: explosion, fire and magic sprite sheets