Тёмный

Unity 2D How to Make a MOVING OBSTACLE | Unity 2D Platformer Tutorial #13 

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

How to make a 2D Moving Obstacle in Unity?
In this Unity 2D Tutorial we'll make a moving obstacle.
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

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

 

29 сен 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 55   
@RehopeGames
@RehopeGames Год назад
Your opinion is very important to me. Please share your ideas with me. And if you found the video useful, don't forget to like and subscribe so you don't miss new videos ❤
@dogukantombul1045
@dogukantombul1045 4 месяца назад
my spike is not going inside the ground, I still can see the spike when it goes into point2. What can I do
@dogukantombul1045
@dogukantombul1045 4 месяца назад
oh okay it is about sorting layer
@LearningScreen
@LearningScreen Год назад
Keep Uploading, awesome video.
@RehopeGames
@RehopeGames Год назад
Thank you so much 😊
@mjagatkar88
@mjagatkar88 4 месяца назад
doesn't work, object falls down into void
@alirana823
@alirana823 Год назад
Hi, Hope you doing well Need a video on the underwater game in 2d, Like Tribe boy Game underwater Level. and rope Logic video Like same game Tribe boy Game waiting for your reply
@RehopeGames
@RehopeGames Год назад
Merhaba teşekkür ederirim iyiyim 😊 Farklı farklı oyun türlerini çekmeyi planlıyorum aslında , şu anda kendim 2D bir aksiyon oyunu yapıyorum. Macera oyunu tarzı oyun yaparken bahsettiğin mekanikleri de anlatabilirim
@alirana823
@alirana823 Год назад
@@RehopeGames Thanks, Please make video on both query when will you get free time very much needed .thanks again and waiting.😊
@RehopeGames
@RehopeGames Год назад
First of all, it makes me proud that you made such a request 🙏🙏 I have about 5 videos left to complete the currently ongoing series. I will start prepare Udemy courses this month, I guess it will take about 1 month. At the same time, my own game project continues. As for the answer to your question, I think 2 months later 😊 Thank you so much 😊
@eliftopuz_
@eliftopuz_ 9 месяцев назад
in love with your unity tutorials thanks a lot
@RehopeGames
@RehopeGames 9 месяцев назад
Beğenmenize sevindim, güzel geri bildiriminiz için çok teşekkür ederim 🙏
@thegamingpanther4887
@thegamingpanther4887 Год назад
Hi rehope, your videos have been very helpful, me and my group have used these to help make our game. I was just wondering if you had any idea on how to make a time delay. I wanna make a square that after you have stood on it long enough, it breaks underneath you. If you see this comment, I hope you have a good day
@RehopeGames
@RehopeGames Год назад
Hi 🤗 "I wanna make a square that after you have stood on it long enough, it breaks underneath you." that's good idea. ✅ You can make it by using "OnTriggerStay2D" or "OnCollisionStay2D" . I'm glad the video was useful for you 🙏 Good luck to you and your group. Have a nice day too ❤
@luckydenzel
@luckydenzel Год назад
Pleas help i get an error when i play (btw i did this method in 3D) the error says IndexOutOfRangeException: Index was outside the bounds of the array What can i do about this?
@RehopeGames
@RehopeGames Год назад
Hello Denzel, This website page Explains the reason for the error you are getting : stackoverflow.com/questions/20940979/what-is-an-indexoutofrangeexception-argumentoutofrangeexception-and-how-do-i-f I hope you solve it 🙏
@luckydenzel
@luckydenzel Год назад
@@RehopeGames thank you so much for the reply!! I'll look into it
@meeblesmeeb
@meeblesmeeb 7 месяцев назад
How do you make sure that the moving object is always facing the right way?
@boredkid9580
@boredkid9580 3 месяца назад
Your videos have been very usefull to me but it would be better if you could include all the c# script used in description...
@EstrAwO
@EstrAwO 7 месяцев назад
after following the tutorial my points are moving with my object. what have i did wrong?
@EstrAwO
@EstrAwO 7 месяцев назад
i fixed it a little bit but its npw doing the thing but also with that moving to the right
@EstrAwO
@EstrAwO 7 месяцев назад
nvm i fixed it
@MoviesSummary2
@MoviesSummary2 6 месяцев назад
sir please add boss fight like mario games to this series
@Ratchet450Games
@Ratchet450Games Год назад
Great tutorial! Thanks
@RehopeGames
@RehopeGames Год назад
Thank you so much bro 😊
@natureplayz7218
@natureplayz7218 Год назад
Youve found yourself a new sub!
@RehopeGames
@RehopeGames Год назад
Thanks and Welcome ❤
@flamesnail
@flamesnail 10 месяцев назад
What is your obstacle script? My obstacle doesn’t work…
@RehopeGames
@RehopeGames 10 месяцев назад
Hello I'll share all project soon...
@phidinhlongfplhn6986
@phidinhlongfplhn6986 11 месяцев назад
can you help me sir, I have a problem I wrote the same code like your but when I start the game thi object move really really slow and when it make to point 2 so it's work normal, please help me sir
@RehopeGames
@RehopeGames 11 месяцев назад
Hi, can you show me your script?
@alyg7738
@alyg7738 Год назад
In the sorting layer I only have "default" and "add sorting layer"
@RehopeGames
@RehopeGames Год назад
This video for you 😉 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-a2fO_f75Rko.html
@rr-lp9kw
@rr-lp9kw Год назад
my obstacle object disappear for no reason in game.. but it can be seen working well on scene tab...help mee
@RehopeGames
@RehopeGames Год назад
Check Z position, order layer or sorting layer of the obstacle object
@mad_123
@mad_123 Год назад
Thank you.
@RehopeGames
@RehopeGames Год назад
Thank you so much 🙏
@janmenzinga
@janmenzinga 10 месяцев назад
This obstacle thing does not seem to work on my project. Also the shadows are not working.
@RehopeGames
@RehopeGames 10 месяцев назад
Hi, did you watch this video for shadow? ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-r_7799K0-XQ.html
@janmenzinga
@janmenzinga 10 месяцев назад
I succeeded in shadows, but still not to make object obstacle... is there some more explanation about it? Do I have to make the 'tag' Obstacle myself? I don't see this happening in your video. Does it have to do with 'order in layer' ? Maybe I messed my project up, I don't know. Followed all your steps though. @@RehopeGames
@macsernandbro2943
@macsernandbro2943 Год назад
I dont have any tag with name "Obstacle" what should I do help
@RehopeGames
@RehopeGames Год назад
Hello, do you know how to add a tag to an object?
@macsernandbro2943
@macsernandbro2943 Год назад
@@RehopeGames hi , yeas I know it. Also my version of unity is 2021. Maybe I have to change it to newer?
@RehopeGames
@RehopeGames Год назад
You do not have to. but it is recommended to use the latest LTS version.
@BMWS-1000RR
@BMWS-1000RR Год назад
Could you share the assets?
@RehopeGames
@RehopeGames Год назад
Yes , I will share all project soon...
@luckydenzel
@luckydenzel Год назад
Whqt do i need to do if it says out of bounds or something
@RehopeGames
@RehopeGames Год назад
I did not fully understand your question , could you please elaborate a little?
@luckydenzel
@luckydenzel Год назад
@@RehopeGames i made this in 3D and first the block goes right and then when it goes left i get an error that says out of bounds or something The block also has a scale of 5 on the X
@RehopeGames
@RehopeGames Год назад
@@luckydenzel Hi, Can you show me error message. And error line of the script as well
@luckydenzel
@luckydenzel Год назад
@@RehopeGames IndexOutOfRangeException: Index was outside the bounds of the array.
@sindaga
@sindaga Год назад
it didn't work
@RehopeGames
@RehopeGames Год назад
Can you give me more detail ?
@sindaga
@sindaga Год назад
forget it there's was 2 of the same script and were some typos
@RehopeGames
@RehopeGames Год назад
@@sindaga 👍
Далее
The Making of Karlson 2D (Game)
11:41
Просмотров 6 млн
Inside Out 2: BABY JOY VS SHIN SONIC 4
00:16
Просмотров 4,6 млн
I Took An iPhone 16 From A POSTER! 😱📱 #shorts
00:18
▼ КАПИТАН НАШЁЛ НЕФТЬ В 🍑
33:40
Просмотров 346 тыс.
ОБЗОР НА ШТАНЫ от БЕЗДNA
00:59
Просмотров 277 тыс.
6 Years of Learning Game Development
9:02
Просмотров 2,4 млн
Best FREE Software for Game Development in (2024)
8:01
Giving Personality to Procedural Animations using Math
15:30
Small games win big, here's how to make them
14:59
Просмотров 15 тыс.
The Most Impressive Scratch Projects
11:00
Просмотров 4,9 млн
Tierlisting the BEST (and worst) GAME ENGINES
33:51
Просмотров 226 тыс.
Inside Out 2: BABY JOY VS SHIN SONIC 4
00:16
Просмотров 4,6 млн