Camera Tracking & Bounds in Unity 2D ๐ฎ
Learn to make the camera follow your player while staying within set boundaries in a top-down Unity 2D game.

Game Code Library
27.0K views โข Aug 9, 2024

About this video
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-adventure-asset-pack
Full Package: https://www.patreon.com/posts/player-tracking-109790549
Full Playlist: https://www.youtube.com/playlist?list=PLaaFfzxy_80HtVvBnpK_IjSC8_Y9AOhuP
Download the Top Down Template๐ธ: https://gamecodelibrary.itch.io/top-down-2d-base-template
All source code for all videos I have made and will make in the future can be found on my Patreon:
https://www.patreon.com/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!
https://www.youtube.com/playlist?list=PLaaFfzxy_80EWnrTHyUkkIy6mJrhwGYN0
BUY THE COMPLETE PLATFORMER GAME TEMPLATE NOW!!!
https://gamecodelibrary.itch.io/2d-platformer-template
https://www.patreon.com/GameCodeLibrary/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
Sprite sheet: https://pixel-boy.itch.io/ninja-adventure-asset-pack
Full Package: https://www.patreon.com/posts/player-tracking-109790549
Full Playlist: https://www.youtube.com/playlist?list=PLaaFfzxy_80HtVvBnpK_IjSC8_Y9AOhuP
Download the Top Down Template๐ธ: https://gamecodelibrary.itch.io/top-down-2d-base-template
All source code for all videos I have made and will make in the future can be found on my Patreon:
https://www.patreon.com/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!
https://www.youtube.com/playlist?list=PLaaFfzxy_80EWnrTHyUkkIy6mJrhwGYN0
BUY THE COMPLETE PLATFORMER GAME TEMPLATE NOW!!!
https://gamecodelibrary.itch.io/2d-platformer-template
https://www.patreon.com/GameCodeLibrary/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
Tags and Topics
Browse our collection to discover more content in these categories.
Video Information
Views
27.0K
Likes
806
Duration
5:59
Published
Aug 9, 2024
User Reviews
4.6
(5) Related Trending Topics
LIVE TRENDSRelated trending topics. Click any trend to explore more videos.