Тёмный

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

Rehope Games
Подписаться 10 тыс.
Просмотров 25 тыс.
50% 1

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.
✅Checkpoint System : • Unity 2D CHECKPOINTS T...
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

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

 

30 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 53   
@babyph65
@babyph65 4 месяца назад
you should not skip things that you did we cant figure it out
@MilanToabs
@MilanToabs 7 месяцев назад
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 (collision.CompareTag("Obastacle")) { Die(); } } void Die() { Respawn(); } void Die() { transform.position = startPos; } }
@babyph65
@babyph65 4 месяца назад
thanks
@Taxes_Gov
@Taxes_Gov 3 месяца назад
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 (collision.CompareTag("Obstacles")) { 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!
@lukeflorp55
@lukeflorp55 Год назад
your channel should definitely have more subscribers! you make simple and to the point tutorials that are always helpful, thank you!!
@RehopeGames
@RehopeGames Год назад
glad you think so, thank you so much 😊❤
@thepresidentgaming404
@thepresidentgaming404 Год назад
Hello Murat how to make flashing screen and dying particle because I got stocked there. Thanks for Tutorial anyway
@RehopeGames
@RehopeGames Год назад
Hello and thank you 🙏 I'm create animation for white flashing screen. And created die particle by using particle system.
@thepresidentgaming404
@thepresidentgaming404 Год назад
@@RehopeGames I created the animation and the particle but i didn't know how to put them in the script and Unity please put a video ,it's better
@yaokabanzai158
@yaokabanzai158 5 месяцев назад
@@thepresidentgaming404 решил проблему?
@babyph65
@babyph65 4 месяца назад
​@@thepresidentgaming404 ikr, i hate when he does this
@itspotataman3628
@itspotataman3628 28 дней назад
how do i make it so it spawns in a specific pos?
@MinhTien0305
@MinhTien0305 2 дня назад
why I can move when i respawn
@vunguyenleanh1515
@vunguyenleanh1515 26 дней назад
my pivot setting is Bottom Left but the pivot still at center, help
@pie_557
@pie_557 3 месяца назад
Please make a video for die particle and animation
@daveangeloabella6752
@daveangeloabella6752 Год назад
I am still waiting for your video about the die particle. Keep up!
@RehopeGames
@RehopeGames Год назад
So so sorry , I'm busy a little this month, but I'll share the video for you soon. Thank you so much 😉
@FloppaTheCatVR
@FloppaTheCatVR 5 месяцев назад
just put the script in description
@voloranic9920
@voloranic9920 11 месяцев назад
go back to the sikript again
@RehopeGames
@RehopeGames 11 месяцев назад
😂
@biged606
@biged606 Год назад
Would be amazing to make a tutorial with health bar😊
@RehopeGames
@RehopeGames Год назад
yes I'm gonna make it 👍
@seanryan2412
@seanryan2412 Год назад
best respawn tutorial i've found, thank you very much!
@RehopeGames
@RehopeGames Год назад
Glad it helped! thank you so much 😊
@IM-ws5if
@IM-ws5if Год назад
Please can you create such a "Fair n Square Game" I really want to know how to create it
@RehopeGames
@RehopeGames Год назад
Yes I can, Actually you can too 😊
@Groleyn
@Groleyn 8 месяцев назад
whats the script
@RTPcanadaGames
@RTPcanadaGames 8 месяцев назад
wonderful.! thank you so much. i have learned alot
@RehopeGames
@RehopeGames 8 месяцев назад
Thanks a lot, I'm glad hear that 😊
@biged606
@biged606 Год назад
Thanks for tutorial! Just keep going man!👍🏻🙂
@neuroworld786
@neuroworld786 Год назад
Sir plz upload a die particle and animation detailed video
@RehopeGames
@RehopeGames Год назад
I have noted your request. Thank you for your interest 😊
@PotatoHaxs
@PotatoHaxs Год назад
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?
@RehopeGames
@RehopeGames Год назад
I had that problem too, you can find the solution in this updated script, my friend. drive.google.com/file/d/186zkqzJrCxsKszFprDUveRWc05QfAIOO/view?usp=share_link
@RehopeGames
@RehopeGames Год назад
and thank you 😊
@PotatoHaxs
@PotatoHaxs Год назад
@@RehopeGames Hi, thanks for the help, but I use a different movement script, is there anyway to fix this without using the same script?
@ranas1300
@ranas1300 Год назад
thank you so much you saved me😭😭😭😭❤❤❤
@RehopeGames
@RehopeGames Год назад
thanks a lot 😊
@Ladi_T
@Ladi_T Год назад
МУЖИК СПАСИБО, дякую ♥♥♥, thx)
@RehopeGames
@RehopeGames Год назад
🙏
@afterafterbefore3468
@afterafterbefore3468 Год назад
Best Tutorial i've ever seen,thanks a lot
@RehopeGames
@RehopeGames Год назад
Thank you so much 🙏
@guyingame3072
@guyingame3072 Год назад
can someone help me theres a problone and i cant fix it... it says : Assets/GameController.cs
@RehopeGames
@RehopeGames Год назад
Can you give me more detail ?
@yaokabanzai158
@yaokabanzai158 5 месяцев назад
Я так понимаю вы перезапускаете персонажа, но не всю сцену?.. А как сделать чтобы после смерти перезапускался весь уровень??
@regard2503
@regard2503 4 месяца назад
use SceneManager.LoadSceneAsync(SceneManager.GetActiveScene().buildIndex + 1);
@FireFox_Gaming73
@FireFox_Gaming73 Год назад
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.
@RehopeGames
@RehopeGames Год назад
I will share all project soon, You can check it with the project
@BlueTAnimates
@BlueTAnimates Год назад
3:56 the problem is that the player cant move when you respawn
@RehopeGames
@RehopeGames Год назад
why the player flipped after hitting the obstacle?
@BlueTAnimates
@BlueTAnimates Год назад
I don’t know
@Mezian.7s
@Mezian.7s Год назад
Thanks man the video was very useful
@RehopeGames
@RehopeGames Год назад
Glad to hear it! Thanks a lot 😊
Далее
I Made Your Cursed Game Ideas
9:07
Просмотров 328 тыс.
Почему?
00:22
Просмотров 344 тыс.
Ответы Мэил Ру
01:00
Просмотров 1,5 млн
HOW TO KILL AND RESPAWN PLAYER-Unity Tutorial
6:43
Просмотров 59 тыс.
Best FREE Software for Game Development in (2024)
8:01
Unity Player Death and Respawn Point Tutorial
7:58
Просмотров 12 тыс.
What size should your assets be? | HD 2D GAME ART
12:10
The Most Impressive Scratch Projects
11:00
Просмотров 4,9 млн
Making a Fake Multiplayer .io Game
11:03
Просмотров 146 тыс.
Почему?
00:22
Просмотров 344 тыс.