Mario Style Camera Follow Tutorial @pressstart6864
Mario Style Camera Follow Tutorial  @pressstart6864
Uploaded November 2019 | Updated September 2026, 2 weeks ago
In this video I show you how to setup a camera to follow your character like Super Mario World.
SUBSCRIBE: bit.ly/2Js78lE
============
SUPPORT: patreon.com/pressstartclub

In this video, we cover:
0:40 - Setting up the scene
1:05 - Explaining how a Mario Camera works
1:42 - Calculating Camera Threshold Boundaries
2:30 - Subtracting by our FollowOffset
3:05 - Drawing Gizmos to outline our threshold box
4:05 - Calculating the distance between our character and the center of the camera
5:35 - Defining the new position for the camera
7:10 - Use Vector3.MoveTowards to move our camera
8:10 - Using RigidBody velocity for camera speed
9:20 - Final Product

COPY & PASTE CODE FROM THIS TUTORIAL:
https://pressstart.vip/tutorials/2019/11/29/105/mario-2d-camera.html

VIDEO SERIES:
Animation: youtube.com/watch?v=Gqel6Ed4LpY
Running: youtube.com/watch?v=USLp-4iwNnQ
Jumping: youtube.com/watch?v=RPdn3r_tqcM

PERFECT DEVICE ZOOM:
youtube.com/watch?v=3xXlnSetHPM

MORE TUTORIALS:
https://pressstart.vip/unity-tutorials
Mario Style Camera Follow Tutorial2D Character Animation in Unity [pt 1 of 4]Pinch to Zoom and Panning on Mobile in UnityUnity - Shooting Enemies with Projectiles2D Perspective Effect with an Orthographic Camera (Parallax)Unity - How To Contain RigidBodies Inside 2D CollidersA Perfect Jump in Unity - A Complete Guide#BrackeysGameJam: Day 4Super Mario - Running Tutorial in UnityUnity - How to Detect Collision in C# [Using Colliders]Unity - How to Keep ScoreUnity - Keeping The Player Within Screen Boundaries
Press Start |

Mario Style Camera Follow Tutorial

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER