Teleport Your Player Back To Safe Ground | EASY Unity Tutorial

Описание к видео Teleport Your Player Back To Safe Ground | EASY Unity Tutorial

Show your Support & Get Exclusive Benefits on Patreon (Including Access to this project's Source Files + Code) -   / sasquatchbgames  
Join our Discord Community! -   / discord  

In this Unity tutorial I'll show you TWO different ways we can teleport our player back to safety after touching a damage zone (like falling off a cliff, or jumping in acid/poison/lava.)

The first method is very automatic and you can just "set it and forget it" - whereas the second method is a bit more customizable since we'll create a system to warp our player back to specific checkpoints.

I cover a lot here, so we're going to make this fast!

Link to Download the FREE 2D Asset Pack seen in this tutorial:
https://veilofmaia.com/tutorial-asset...
---
In need of some Unity Assets? Using our affiliate link is a great way to support us. It's free, and we get a small cut that helps keep us up and running: https://assetstore.unity.com?aid=1100lwgBQ
---

Credits-----------------------------------------------------

Unity Physics2D.BoxCast Documentation Pic:
https://docs.unity3d.com/ScriptRefere...

Contents of This Video: ------------------------------------------

00:00 - Intro + Scene Explanation
01:45 - Setting Up GroundSaver Script
05:35 - Detecting if Player is Touching the Ground
08:04 - Finalizing the Warp for Method 1
09:20 - Setting Up GroundSaver With CheckPoint Script
12:20 - Finishing CheckPoint System
13:30 - Fixing Pivot Point Offset Problems

Who We Are-------------------------------------

If you're new to our channel, we're Brandon & Nikki from Sasquatch B Studios. We sold our house to start our game studio, and work full time on building our business and making our game, Veil of Maia.

Wishlist our Games:
Wishlist Samurado on Steam! - https://store.steampowered.com/app/23...
Wishlist Veil of Maia! - https://store.steampowered.com/app/19...

Don't forget to Subscribe for NEW game dev videos every Monday & Thursday!

Follow us on Twitter for regular updates!
  / sasquatchbgames  


#unitytutorial #unity2d #unity3d

Комментарии

Информация по комментариям в разработке