Тёмный

Procedural Generation: Endless Runner Unity Tutorial (Updated 2023) 

Rigor Mortis Tortoise
Подписаться 9 тыс.
Просмотров 28 тыс.
50% 1

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

 

25 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 56   
@msx9037
@msx9037 4 месяца назад
Thanks for the tutorial! --- If anyone have already have forward running character, or you don't want the platforms that sliding backward, you can try this: Mine SectionTrigger from this tutorial script looks like that: public class SectionTrigger : MonoBehaviour { public float moveStep; //lenght of platform offset on trigger = full exact lenght of platform(fills from inspector) public int stepCount = 0; //multipler for each next offset(counter of triggers) public GameObject roadSection; void OnTriggerEnter(Collider other) { if(other.gameObject.CompareTag("Trigger")) { stepCount += 1; Instantiate(roadSection, new Vector3(0, 0, moveStep * stepCount), Quaternion.identity); } } }
@marijapopovic8173
@marijapopovic8173 10 месяцев назад
Girl I love you, you know how to explain things
@RigorMortisTortoise
@RigorMortisTortoise 9 месяцев назад
Thank you so much! 🥹 Glad I could help
@KJ7JHN
@KJ7JHN 7 месяцев назад
This is a great tutorial Holly. Glad I found it. Thanks!
@EpikF1shy
@EpikF1shy 9 месяцев назад
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.
@AmmarAwan-oc1uc
@AmmarAwan-oc1uc Месяц назад
Madam Best Tutorial Ever Made
@ItsPBUH
@ItsPBUH 13 дней назад
Hey, thanks so much for these tutorials, they're amazing :) I can't find the next video, is it out, or coming soon? Thanks!
@yaroslavkelemen3647
@yaroslavkelemen3647 11 месяцев назад
Thnaks a ton for this tutorial! It really helped me out
@MichaelTorruella-b3y
@MichaelTorruella-b3y 4 месяца назад
Perfect for my Death Star Run idea
@kiryrumirz1615
@kiryrumirz1615 10 месяцев назад
I was needing this so much... I love your channel ;; omg
@RigorMortisTortoise
@RigorMortisTortoise 10 месяцев назад
Thank you so much!!
@r.f886
@r.f886 9 месяцев назад
Hi from near future, thanks for the good tutorial 👍
@hefferwolff3578
@hefferwolff3578 5 месяцев назад
Wonderful tutorial!!!
@Rafix
@Rafix 4 месяца назад
awesome video!
@Zephyrs_Domain
@Zephyrs_Domain Год назад
Great tutorial as always, cool to learn how things work! ❤ 🔥
@RigorMortisTortoise
@RigorMortisTortoise 11 месяцев назад
Thank you! 🙌
@FromPc-bj9ew
@FromPc-bj9ew 4 месяца назад
thank you mam you are best Developer
@void2991
@void2991 22 дня назад
This was a nice tutorial, thank you. But i have a problem, now the game starts with only one platform, what if i wanted n number of platforms at the start and then generate new one's at the end?
@bobwonch
@bobwonch 11 месяцев назад
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 9 месяцев назад
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
@Deepak-l3t5u
@Deepak-l3t5u 7 месяцев назад
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
@motobike5Dev
@motobike5Dev 2 месяца назад
Hey, i have a problem. i have a section that has a box collider and when the player triggers the box collider, the box collider will deactivate and spawn a new section, but after it spawns a section, the new section it spawned doesn't work anymore, in which the box collider in the new section isn't activated, this is because the prefab is using itself and changes itself, but i don't want that to happen and i don't know how to fix it.
@Mcjagger2023
@Mcjagger2023 8 месяцев назад
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.
@VeryTori
@VeryTori 7 месяцев назад
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?
@phoquegames
@phoquegames 3 месяца назад
In the rigid body component under constraints you can disable certain axis rotations or movements
@simonsobo4644
@simonsobo4644 Год назад
Just underneath the heart on your icon you need to put the letter "S" because you are SUPER!!!
@RigorMortisTortoise
@RigorMortisTortoise 11 месяцев назад
Glad you liked it!
@simonsobo4644
@simonsobo4644 11 месяцев назад
@@RigorMortisTortoise Like is such a strong word actually, let's just say I LOVED IT!
@belgischepommes7466
@belgischepommes7466 8 месяцев назад
ty 💫
@akRedmage
@akRedmage 6 месяцев назад
Do you have any issues with Z-fighting when you spawn the prefabs over each other, or is that something you fix later?
@iangraham6730
@iangraham6730 9 месяцев назад
Are you going to continue with this??
@SAJJAD-dh3xp
@SAJJAD-dh3xp 2 месяца назад
How do we fix gap between new tiles just instantiated?! And im increasing speed but gap appear
@hawwka
@hawwka 2 месяца назад
public class GroundMover : MonoBehaviour { public List Platforms = new(); public float ShiftOffset = 13.68f; public float Speed = 1f; private Vector3 moveDirection = Vector3.back; private void Update() { foreach (var platform in Platforms) { var pos = platform.transform.position; pos += moveDirection * (Speed * Time.deltaTime); if (pos.z < -ShiftOffset) { pos = new Vector3(pos.x, pos.y, pos.z + ShiftOffset * 2); } platform.transform.position = pos; } } }
@SAJJAD-dh3xp
@SAJJAD-dh3xp 2 месяца назад
@@hawwka yo bro 💀 thank uuu man
@NooB20.0
@NooB20.0 6 месяцев назад
Can you add random cat generate on? pls
@tgerm
@tgerm 8 месяцев назад
The destroy wall is not working for me
@Haha-vw3ff
@Haha-vw3ff 8 месяцев назад
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 5 месяцев назад
@@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.
@DominicRyanOsborne
@DominicRyanOsborne 4 месяца назад
Train of thought How to apply this to rimworld, A planet like venus with a long day, Wait what about that planet in riddick that was a blazing inferno and you had to keep moving to avoid death So like procedurally generated surface on extremely slow rotation planet but the topography does repeat eventually.
@NguyễnDuy-d8f
@NguyễnDuy-d8f 4 месяца назад
Is creating and destroying paths okay and not overloading my game, compared to using object pooling?
@ksmleopard6890
@ksmleopard6890 4 месяца назад
I would rather use object pooling, creating and destroying paths would not be ideal if you would want to speed up the game later on. It would cause a lot of GC allocation and might cause lag spikes
@hey1tsla
@hey1tsla 5 месяцев назад
i want to , like generate new platforms rather than same one ? can anyone help
@simonsobo4644
@simonsobo4644 9 месяцев назад
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 9 месяцев назад
Hey Simon I really appreciate the support and your intention but there's really no need! Thank you though I appreciate the thought
@simonsobo4644
@simonsobo4644 10 месяцев назад
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 6 месяцев назад
hey coud u write all the code to me in the comments and pin me for others to know the script?
@BotterFingers
@BotterFingers 11 месяцев назад
Next time work slower, and show everything you do. The basics of Tutorials
@thepsychicpeach8425
@thepsychicpeach8425 7 месяцев назад
Then watch more videos. Its literally less than 10 mins and she shows you EVERYTHING. How bad is your attention span.
@ayuwan_cant_play
@ayuwan_cant_play 5 месяцев назад
You are right my friend, he probably jerking or some shit​@@thepsychicpeach8425
@дедазамат-ц1у
@дедазамат-ц1у 5 месяцев назад
Lmao bro pick 0.5 speed
@lemonsarejuicy8817
@lemonsarejuicy8817 10 месяцев назад
i copied the code and it doesnt work :( ive watched it twice and still cant do it
@MaskedYemeni1
@MaskedYemeni1 6 месяцев назад
from were did u copy?
@lemonsarejuicy8817
@lemonsarejuicy8817 6 месяцев назад
@@MaskedYemeni1 this was long ago I’ve done it now
@MaskedYemeni1
@MaskedYemeni1 6 месяцев назад
@@lemonsarejuicy8817 ye but were did u find it
@lemonsarejuicy8817
@lemonsarejuicy8817 6 месяцев назад
@@MaskedYemeni1i can’t remember sorry
Далее
Dear Game Developers, Stop Messing This Up!
22:19
Просмотров 722 тыс.
Giving Personality to Procedural Animations using Math
15:30
МЭЙБИ БЭЙБИ - Hit Em Up (DISS)
02:48
Просмотров 287 тыс.
Tierlisting the BEST (and worst) GAME ENGINES
33:51
Просмотров 234 тыс.
3D ENDLESS RUNNER IN UNITY - PLAYER (Pt 1)
15:55
Просмотров 94 тыс.
I Solved The World's Hardest Maze (with Code)
9:54
Просмотров 179 тыс.
How I Would Start Game Development (If I Started Over)
16:59
3 Hours vs. 3 Years of Blender
17:44
Просмотров 5 млн
134 Unity Components EXPLAINED in Less than 30 Minutes
24:01
I Made My First Game in Godot in 3 Weeks...
26:21
Просмотров 401 тыс.