Procedural Generation: Endless Runner Unity Tutorial (Updated 2023)

  Рет қаралды 14,813

Rigor Mortis Tortoise

Rigor Mortis Tortoise

Күн бұрын

Hey friends! Let's learn how to generate infinite levels and platforms in Unity with Procedural Generation! This is a follow-up to a video I made about Subway Surfer, and I thought this would be a good overview on how procedural generation works.
👾 Join the Discord! / discord
🫶 Access Code Files and Projects! [patreon.com/RigorMortisTortoise]( / rigormortistortoise )
~ Contact ~
📷 Instagram: @rigor_mortis_tortoise
⏱️TikTok: Rigor_MortisTortoise
💌 Email: [hello@rigormortistortoise.com](mailto:hello@rigormortistortoise.com)
🐢Website: [rigormortistortoise.com](rigormortistortoise.com/)
📖 Chapters
0:00 Intro
0:29 How the effect works
1:02 Invisible Wall Trigger
1:29 Creating a trigger
2:36 Writing the trigger script
5:48 Writing the platform movement script
7:54 Destroy wall

Пікірлер: 40
@KJ7JHN
@KJ7JHN 2 ай бұрын
This is a great tutorial Holly. Glad I found it. Thanks!
@yaroslavkelemen3647
@yaroslavkelemen3647 6 ай бұрын
Thnaks a ton for this tutorial! It really helped me out
@hefferwolff3578
@hefferwolff3578 12 күн бұрын
Wonderful tutorial!!!
@marijapopovic8173
@marijapopovic8173 5 ай бұрын
Girl I love you, you know how to explain things
@RigorMortisTortoise
@RigorMortisTortoise 3 ай бұрын
Thank you so much! 🥹 Glad I could help
@Zephyrs_Domain
@Zephyrs_Domain 7 ай бұрын
Great tutorial as always, cool to learn how things work! ❤ 🔥
@RigorMortisTortoise
@RigorMortisTortoise 6 ай бұрын
Thank you! 🙌
@EpikF1shy
@EpikF1shy 4 ай бұрын
Your videos are really nice and helpful, I believe the curve World effect helped me solve a problem in my game. But actually in Subway Surfers the character rather moves instead of the world. I’ve been able to move the camera in the game away from the character and can confirm that the player rather moves which is what I’ve been doing in my game. But this tutorial was actually really interesting, good vid.
@kiryrumirz1615
@kiryrumirz1615 5 ай бұрын
I was needing this so much... I love your channel ;; omg
@RigorMortisTortoise
@RigorMortisTortoise 5 ай бұрын
Thank you so much!!
@r.f886
@r.f886 4 ай бұрын
Hi from near future, thanks for the good tutorial 👍
@belgischepommes7466
@belgischepommes7466 3 ай бұрын
ty 💫
@user-et7de8in7k
@user-et7de8in7k 2 ай бұрын
thankyou sister i am from india i am just a beginner but i can able to understand u r english and u r explanation is very very good love from india
@akRedmage
@akRedmage 22 күн бұрын
Do you have any issues with Z-fighting when you spawn the prefabs over each other, or is that something you fix later?
@VeryTori
@VeryTori 2 ай бұрын
When I add the RigidBody to the road prefab, the sections push each other up or down if you look at the scene from a side view. How can I fix this?
@NooB20.0
@NooB20.0 22 күн бұрын
Can you add random cat generate on? pls
@hey1tsla
@hey1tsla 18 күн бұрын
i want to , like generate new platforms rather than same one ? can anyone help
@Mcjagger2023
@Mcjagger2023 3 ай бұрын
Can we get a possible update/re-go over of this? a bit slower, more in depth/detailed? with better steps some feel like they were skipped over. I tried this and the script just seemed to not work at all for me.
@iangraham6730
@iangraham6730 4 ай бұрын
Are you going to continue with this??
@bobwonch
@bobwonch 6 ай бұрын
When the road section is destroyed I get a MissingReferenceException MissingReferenceException: The object of type 'GameObject' has been destroyed but you are still trying to access it. Your script should either check if it is null or you should not destroy the object. If I check for null then my SectionTrigger stops working.
@ambroisegalle7110
@ambroisegalle7110 3 ай бұрын
In the SectionTrigger script you need to drag and drop the prefab from the Project folder, and not from the scene, into the public section
@simonsobo4644
@simonsobo4644 7 ай бұрын
Just underneath the heart on your icon you need to put the letter "S" because you are SUPER!!!
@RigorMortisTortoise
@RigorMortisTortoise 6 ай бұрын
Glad you liked it!
@simonsobo4644
@simonsobo4644 6 ай бұрын
@@RigorMortisTortoise Like is such a strong word actually, let's just say I LOVED IT!
@tgerm
@tgerm 3 ай бұрын
The destroy wall is not working for me
@Haha-vw3ff
@Haha-vw3ff 3 ай бұрын
Whenever I put a rigid body on my prefab it makes the box trigger, trigger twice and it spawns two levels.
@Haha-vw3ff
@Haha-vw3ff 10 күн бұрын
@@Mo-zm7eo This was a long time ago so im not sure but I think it was because the character controller and rigid body both have a collision capsule on them so it triggers it twice.
@simonsobo4644
@simonsobo4644 4 ай бұрын
I hope you’re okay. I’m kinda worried about you because I’ve been trying to find an alternative to Patreon to pay you for your lessons. By sheer chance I was able to cancel my Patreon subscription but I meant it when I told you I was grateful to you and I want to contribute. Do you have a PayPal or Venmo account? Please let me know so that I can keep my promise to you. Simon
@RigorMortisTortoise
@RigorMortisTortoise 4 ай бұрын
Hey Simon I really appreciate the support and your intention but there's really no need! Thank you though I appreciate the thought
@lemonsarejuicy8817
@lemonsarejuicy8817 5 ай бұрын
i copied the code and it doesnt work :( ive watched it twice and still cant do it
@MaskedYemeni1
@MaskedYemeni1 Ай бұрын
from were did u copy?
@lemonsarejuicy8817
@lemonsarejuicy8817 Ай бұрын
@@MaskedYemeni1 this was long ago I’ve done it now
@MaskedYemeni1
@MaskedYemeni1 Ай бұрын
@@lemonsarejuicy8817 ye but were did u find it
@lemonsarejuicy8817
@lemonsarejuicy8817 Ай бұрын
@@MaskedYemeni1i can’t remember sorry
@simonsobo4644
@simonsobo4644 5 ай бұрын
I promised you I’d be a loyal Patreon follower but I canceled for two reasons. First, I was having so much trouble with Unity itself I gave up on it as my game engine of choice. (I accidentally discovered Unity works much better on a Mac through Google Chrome.) The second reason is because I’ve had nothing but trouble via Patreon. What I was hoping for was for me to be able to pay you the money I promised without Patreon. Can I send you money through PayPal? Please let me know. Simon
@MaskedYemeni1
@MaskedYemeni1 Ай бұрын
hey coud u write all the code to me in the comments and pin me for others to know the script?
@BotterFingers
@BotterFingers 6 ай бұрын
Next time work slower, and show everything you do. The basics of Tutorials
@thepsychicpeach8425
@thepsychicpeach8425 2 ай бұрын
Then watch more videos. Its literally less than 10 mins and she shows you EVERYTHING. How bad is your attention span.
@ayuwan_techie
@ayuwan_techie 14 күн бұрын
You are right my friend, he probably jerking or some shit​@@thepsychicpeach8425
@user-nq8cw5er5s
@user-nq8cw5er5s 4 күн бұрын
Lmao bro pick 0.5 speed
SUBWAY SURFER Curved World Shader Graph (Updated 2023)
9:27
Rigor Mortis Tortoise
Рет қаралды 10 М.
Endless Runner: Procedural Track Generation (Unity Tutorial)
14:37
Matt MirrorFish
Рет қаралды 56 М.
Stupid man 👨😂
00:20
Nadir Show
Рет қаралды 29 МЛН
PokeRogue: Classic 145/195/200 ruin the game
18:53
Hotashi
Рет қаралды 2,3 М.
How I would learn Game Development (if I could start over)
11:44
Rigor Mortis Tortoise
Рет қаралды 6 М.
3D ENDLESS RUNNER IN UNITY - PLAYER (Pt 1)
15:55
Practical Programming
Рет қаралды 88 М.
I Made a Mobile Game for the Money - Here's how | Devlog
4:32
DevRatGames
Рет қаралды 187 М.
Make an Endless Runner in Unity 2020 / 2021 - part 1 of 2
32:38
Imphenzia
Рет қаралды 170 М.
What I Learned From 100+ Hours of Procedural Generation
7:12
Making a game in one day to make money fast | full result
10:55
Making Custom Car Physics in Unity (for Very Very Valet)
22:48
Toyful Games
Рет қаралды 111 М.
ВЕРИТ ЛИ ТИГРА БУЛЛИ?
0:32
Pimpochka Games
Рет қаралды 2,6 МЛН
Piper 1v3 in duel (mutation) 🥵🔥
0:35
Tufa
Рет қаралды 4,1 МЛН
Who Is The Most Suitable To Be The Owner Of The Dog Zoonomaly
0:41
Mischief time
Рет қаралды 13 МЛН
esto no es un juego, es la vida real...
0:18
ORION
Рет қаралды 12 МЛН