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
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
![2D Character Animation in Unity [pt 1 of 4]
I explain how to draw, animate and setup transitions for your 2D character in Unity.
SUBSCRIBE: https://bit.ly/2Js78lE
SUPPORT: https://www.patreon.com/pressstartclub
In this video, we cover:
0:35 - How to find spritesheets to reference when drawing
1:30 - Using the right art program to use
2:00 - 3 things to know about how to setup your document
3:38 - Using Aseprite to draw my animations
4:11 - Importing my spritesheet into Unity
4:35 - Setting up the files to use multiple sprites in one file
6:20 - Creating an animation clip in Unity
7:18 - Using the Animator panel in Unity to setup parameters
8:00 - Setting the value for Animator parameters in C#
8:45 - Using the Animator panel to setup transitions between animations.
ASEPRITE DOWNLOAD: https://www.aseprite.org/
MORE TUTORIALS:
https://pressstart.vip/unity-tutorials 2D Character Animation in Unity [pt 1 of 4]](https://i.ytimg.com/vi/Gqel6Ed4LpY/mqdefault.jpg)







![Unity - How to Detect Collision in C# [Using Colliders]
In this tutorial we discuss adding colliders on our objects so that we can detect collision within our script.
SUBSCRIBE: https://bit.ly/2Js78lE
In this video, you will learn:
0:55 - Choosing the right collider for your environment
1:05 - How a collider works
1:30 - 2D and 3D colliders to use
2:05 - Adding a Circle Collider 2D
3:35 - Adding a Box Collider 2D
4:19 - How to use isTrigger
4:45 - Detecting Collision in C#
6:10 - Using Instantiate to load an explosion
7:00 - Destroy on Collision
COPY & PASTE CODE FROM THIS TUTORIAL:
https://pressstart.vip/tutorials/2018/11/1/75/collision-detection.html
PREVIOUS VIDEOS:
Movement: https://www.youtube.com/watch?v=BxO59UyXPLc
Obstacles: https://www.youtube.com/watch?v=E7gmylDS1C4
MORE TUTORIALS:
https://pressstart.vip/unity-tutorials
WEEKLY DEVELOPER STORIES AND TIPS:
https://pressstart.vip/newsletter Unity - How to Detect Collision in C# [Using Colliders]](https://i.ytimg.com/vi/ZoZcBgRR9ns/mqdefault.jpg)

