Unity 2D Player RESPAWN Tutorial | Unity 2D Platformer Tutorial #8

preview_player
Показать описание
In this Unity 2D tutorial we'll do player RESPAWN System.
We'll write simple and understandable Player RESPAWN code in C#.
let's continue "How to make a game" Series with 2D Platformer Game.
This Unity 2Dtutorial especially for Beginners.

Enjoy the video ☕

————————————————————————————
🖐 Hi Game developer
Welcome to Rehope Games I'm Murat

I share unity tutorial videos on my channel. if you want to make a game with unity (especially 2d platformer game), the videos here will definitely interest you.

————————————————————————————

#unitytutorials, #unity2d, #unity2dplatformer
Рекомендации по теме
Комментарии
Автор

your channel should definitely have more subscribers! you make simple and to the point tutorials that are always helpful, thank you!!

lukeflorp
Автор

Thanks for tutorial! Just keep going man!👍🏻🙂

biged
Автор

best respawn tutorial i've found, thank you very much!

seanryan
Автор

Best Tutorial i've ever seen, thanks a lot

afterafterbefore
Автор

wonderful.! thank you so much. i have learned alot

RTPcanadaGames
Автор

you should not skip things that you did we cant figure it out

babyph
Автор

I am still waiting for your video about the die particle. Keep up!

daveangeloabella
Автор

hlo murat/rehope games
for me the script:
using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameController : MonoBehaviour
{
Vector2 startPos;

private void Start()
{
startPos = transform.position;
}

private void OnTriggerEnter2D(Collider2D collision)
{
if
{
Die();
}

}

void Die()
{
Respawn();
}

void Respawn()
{
transform.position = startPos;
}
}

isn't working and when my character gets destroyed by the obstacle, It doesn't respawn, please HELP ME!

TECH_STARK
Автор

Would be amazing to make a tutorial with health bar😊

biged
Автор

Great video! but I have one problem, when I walk into the spike going left my character respawns but then the animation I have is backwards when I walk forwards. do you have any reason why?

PotatoHaxs
Автор

Hello Murat how to make flashing screen and dying particle because I got stocked there. Thanks for Tutorial anyway

thepresidentgaming
Автор

Please make a video for die particle and animation

pie_
Автор

can someone help me theres a problone and i cant fix it... it says : Assets/GameController.cs

guyingame
Автор

Please can you create such a "Fair n Square Game" I really want to know how to create it

IM-wsif
Автор

this is great until i got to the part where you make the shadow disappear when you die so i copied the code but every time i died i got big and i dont know why.

FireFox_Gaming
Автор

Sir plz upload a die particle and animation detailed video

neuroworld
Автор

Я так понимаю вы перезапускаете персонажа, но не всю сцену?.. А как сделать чтобы после смерти перезапускался весь уровень??

yaokabanzai
Автор

using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class GameController : MonoBehaviour
{
Vector2 startPos;

private void Start()
{
startPos = transform.position;
}

private void OnTriggerenter2D(Collider2D collision)
{
if
{
Die();
}
}

void Die()
{
Respawn();
}

void Die()
{
transform.position = startPos;
}
}

MilanToabs
Автор

3:56 the problem is that the player cant move when you respawn

BlueTAnimates