Want your camera to follow the player? Tired of jittery cameras in your 2D game? In this tutorial, I’ll show you how to set up Cinemachine in Unity 6 to get a smooth, professional camera for your Metroidvania or any pixel art game.
We’ll cover:
✅ Installing the Cinemachine package in Unity 6
🎮 Why a virtual camera beats just parenting the main camera
🎯 Position Composer & Offsets – framing the player exactly how you want
👀 Look Ahead & Dead Zone – smoother motion & better player visibility
🚫 Confiner 2D – keeping your camera inside the level boundaries
🟪 Pixel Perfect Camera & Cinemachine Extension – crisp pixel art at any resolution
By the end, your game will have a smooth, cinematic 2D camera that feels amazing to play.
🔗 Assets Used (Free for Commercial Use!)
Character → Brullov’s Generic Character v.0.2
https://brullov.itch.io/generic-char-asset
Building Decorations → Brullov’s Castle of Despair
https://brullov.itch.io/2d-platformer-asset-pack-castle-of-despair
Cave Tilemap → Szadi’s Pixel Fantasy Caves
https://szadiart.itch.io/pixel-fantasy-caves
Kobold Warrior → Mattz Art’s Kobold Warrior Pack
https://xzany.itch.io/kobold-warrior-2d-pixel-art
💡 Support the Channel
If you’d like to speed up releases (2 videos a week!) and get early access + source code, join the community here:
👉 https://patreon.com/NightRunStudio
🎹 Music
Sinister Caves – Night Run Studio
From the Willard soundtrack
⚡ Perfect for: Unity 6 Beginners, Pixel Art Devs, Metroidvania Projects, 2D Camera Tutorials
Voir sur youtube