Player Tracking and Camera Bounds - Top Down Unity 2D #4

Опубликовано: 16 Июль 2026
на канале: Game Code Library
40,130
1.1k

Let's get our camera following our player and also staying within the bounds we set! So the camera will follow our player until hitting the sides of our boundary collision and stop.

Sprite sheet: https://pixel-boy.itch.io/ninja-adven...

Full Package:   / player-tracking-109790549  
Full Playlist:    • Top Down Tutorial Series - Unity 2D  
Download the Top Down Template🐸: https://gamecodelibrary.itch.io/top-d...

All source code for all videos I have made and will make in the future can be found on my Patreon:
  / gamecodelibrary  

Be sure to subscribe to see what kind of adventure we can go on together! I'm excited! :-)

If you have any suggestions, feedback or questions, be sure to comment below! Any opinions will help me out on this journey ♡

Check out the full platformer playlist!
   • FULL Platformer Tutorial Series - Unity 2D  

BUY THE COMPLETE PLATFORMER GAME TEMPLATE NOW!!!
https://gamecodelibrary.itch.io/2d-pl...
  / shop  

#unity #gamedev #gamedevelopment #unity2d #tilemap

0:00 - Intro
0:16 - Plan
0:58 - Camera Follow Player
1:47 - Fix Screen Tear
2:22 - Camera Bounds
5:00 - Working!
5:20 - Next Video
5:50 - Outro