Player Death & Respawn | 2D Platformer in Unity #9 | 2D Game Dev Tutorial

Player Death & Respawn | 2D Platformer in Unity #9 | 2D Game Dev Tutorial

Muddy Wolf

4 года назад

45,506 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Alden Wang
Alden Wang - 14.03.2023 21:40

Couldn't you just change the position of the player to the position of the respawn point? Wouldn't that be easier?

Ответить
Imagination Gallery
Imagination Gallery - 28.12.2022 08:11

can you help me I have a problem about the LevelManager instance

Ответить
LOI CA
LOI CA - 20.07.2022 05:36

Great tutorials !! Thanks mate

Ответить
the anything gamer YT
the anything gamer YT - 30.06.2022 19:54

I know it's late, but anyone know how to fix
The referenced script (levelManager) on this Behaviour is missing!
or
The referenced script on this Behaviour (Game Object 'LevelManager') is missing!
I need help:((((

Ответить
S. Greenways
S. Greenways - 23.06.2022 14:40

Hi, I recently started using unity and I am following your video. I made the scripts, but I am getting an error message. I cant figure out what the problem is. Can someone help me?

Assets\Scripts\PlayerDeath.cs(3,37): error CS0246: The type or namespace name 'Collision2D' could not be found (are you missing a using directive or an assembly reference?)

Ответить
CrispyBeans
CrispyBeans - 31.05.2022 21:47

Im getting the error Assets\PlayerDeath.cs(10,31): error CS0122: 'LevelManager.Respawn()' is inaccessible due to its protection level

Help me pls

Ответить
Ricardo Santos
Ricardo Santos - 20.04.2022 13:50

So I did this and it kinda works, but its got a strange problem: once the player character gets respawned it keeps respawning whenever it touches the ground afterwards. my whole movement system is based around tags and the ground has a "Ground" tag. has anyone else had this problem?

Ответить
kraziaj
kraziaj - 22.03.2022 11:54

CS0103:
Level Manager doesn't exist T-T

Ответить
Lan Ribič
Lan Ribič - 13.02.2022 12:30

Broke knee

Ответить
F K
F K - 31.01.2022 01:40

When I load up the level my unity always crashes because even though I have not died yet it spawns many copies of my main character over and over again. Does anyone know why?

Ответить
Miguel García
Miguel García - 24.01.2022 22:48

I have a problem!. When i respawn my tilemap is invisible. ¿How may i fix that?

Ответить
CSteph2
CSteph2 - 09.01.2022 21:29

Quick question
According to the video the player respawns
But once I ve done writing the code
When the player dies and respawn again it won't prefab the <rigidbody2d> again
Hope you reply.

Ответить
Alex Bingham
Alex Bingham - 09.12.2021 23:20

I am curious how you would get the enemies to continue following you on death with this method

Ответить
Himiko
Himiko - 24.11.2021 16:45

my player spawns down and the the left of whatever i set as the respawn point

Ответить
Night Ninja
Night Ninja - 26.10.2021 18:45

broke kneeeeeeeeeeee

Ответить
Night Ninja
Night Ninja - 26.10.2021 18:44

great vid

Ответить
LQ
LQ - 16.10.2021 03:28

when i die i respawn but i cant move and i instantly fall through everything and i dont respawn again

Ответить
Rxsenmäher
Rxsenmäher - 14.10.2021 11:55

my player is falling threw the ground when respawned. pls help :)

Ответить
Patrik Sopar
Patrik Sopar - 03.10.2021 22:06

When i get respawned my player clone and i cant move any more

Ответить
Doubtful9504
Doubtful9504 - 28.08.2021 06:16

tysm this really helped

Ответить