Тёмный

Unity 2D Platformer Tutorial 20 - Respawn checkpoints 

Daniel Wood
Подписаться 20 тыс.
Просмотров 26 тыс.
50% 1

This video demonstrates how to write code to add checkpoints (so the player can respawn to the last checkpoint when falling off a platform) in a 2D platformer game in Unity.
Code for this tutorial - github.com/danielkwood/Unity2...
Unity website - unity.com
GitHub - github.com/danielkwood/Unity2...
Free Pixel Space Platform Pack - assetstore.unity.com/packages...

Хобби

Опубликовано:

 

26 сен 2021

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 18   
@TK-dz2vu
@TK-dz2vu Месяц назад
Finally a tutorial for Respawn points that actually worked for me! Thank you so much!
@Dailyclipsi
@Dailyclipsi 2 года назад
THANK YOU SO MUCH this was what i was looking for for sooo long finally i can finish my game!!! 😍
@hiddehi5982
@hiddehi5982 2 года назад
perfect tutorial for simple respawn system, thanks a lot!
@Dexter-rx3xg
@Dexter-rx3xg 2 года назад
THX you so mach 👍🏼👌🏼❤️
@spawnterror
@spawnterror 4 месяца назад
Thanks mate.
@disabledaccount7198
@disabledaccount7198 2 года назад
TY my g
@Joachim372
@Joachim372 2 года назад
I can't make the respawner work for some reason, I've double checked the code and it's identical, I just keep respawning back at the original spawn point :/
@sonicillo94
@sonicillo94 2 года назад
same to me and made a lot of test but collider works fine then i used one of Unity default Tag called "Respawn" and fixed
@mustaschgarage1
@mustaschgarage1 10 месяцев назад
And I've ran into problems just because i didn't name the script the same as it says in the code, so check that out if you can.
@georgv2164
@georgv2164 2 года назад
very helpful tutorial but it doesn't work for me because I have to reload the scene when the player dies
@georgeyxu
@georgeyxu Год назад
OnTriggerEnter, not OnCollisionEnter😁
@drm8164
@drm8164 2 года назад
Hi Daniel, very good video, i like to your channel. Please can you HELP ME: i have 4 scenes and i have a big problem to restart in the scene where the player died after the GAME OVER! Thank you in advance :)
@toadblue1465
@toadblue1465 Год назад
my player keeps falling down and not respawn what did I do wrong
@HonkChamp
@HonkChamp Год назад
Debug the entering statement Try checking the tag of the respawn box Try a different solution (I just checked the y of the player)
@MusashiDonoo
@MusashiDonoo 5 месяцев назад
i wrote the code like this instead and got a similar result : else if(collision.tag == "CheckPoint") { respawnPoint = collision.transform.position; }
@spawnterror
@spawnterror 4 месяца назад
That would work better if you have any checkpoint sprites setup and you want everything to be pixel perfect ;)
@tardarsauce1842
@tardarsauce1842 3 месяца назад
it doesnt work for me
@piotrmontgomerytv7786
@piotrmontgomerytv7786 Месяц назад
Useless as any other unity tutorial
Далее
Дима сделал мне сюрприз!😭
01:01
Просмотров 592 тыс.
nyan.mp3 - Хватит мне звонить #nyanmp3
00:16
Unity Simple Checkpoint System Tutorial
9:01
Просмотров 7 тыс.
How To Make A 2D Platformer In Unity (THE FASTEST WAY!)
43:45
Simple Checkpoint System in Unity
16:06
Просмотров 46 тыс.
How to make a checkpoint on Unity [EASIEST WAY]
4:49
HOW TO KILL AND RESPAWN PLAYER-Unity Tutorial
6:43
Просмотров 56 тыс.
How To Make 2D Ladders In Unity
4:25
Просмотров 37 тыс.
СИМВОЛИЧНОЕ ИСКУССТВО
0:28
Просмотров 7 млн
Nightstand, cabinet, safe with secret lock
0:11
Просмотров 40 млн