Endless Runner: Procedural Track Generation (Unity Tutorial)

Поделиться
HTML-код
  • Опубликовано: 19 дек 2024

Комментарии • 81

  • @racmanov
    @racmanov 2 года назад +1

    Damn, great idea with tile based grid. I was thinking whole day and was overcomplicating as usual and your solution is so simple.

  • @iangraham6730
    @iangraham6730 4 года назад +3

    Nice! I just recently began procedural generation, and I am kicking myself that I had not started it sooner!

    • @newbquesttv
      @newbquesttv  4 года назад +2

      Enjoy! It’s tons of fun.

  • @yassinesadik
    @yassinesadik 4 года назад +39

    just realized that you're matt from unity's training live streams. cool stuff you're doing, im following from now on , thanks and keep going.

    • @newbquesttv
      @newbquesttv  4 года назад +3

      Thanks Yassine. Yeah it’s me!

    • @pockets08
      @pockets08 4 года назад

      Good to know, following.

    • @suj13
      @suj13 3 года назад +1

      @@newbquesttv JUst one question. how do you input the project into unity?

    • @newbquesttv
      @newbquesttv  3 года назад +1

      @@suj13 You can download the zip from Github and then open it via the Unity Hub's "Add Project" functionality.

  • @tirkdiamond
    @tirkdiamond 3 года назад +9

    Nice video!
    Improvement idea for a future video: you should play the game at the end (12:00) so you can show how the pieces generate automatically when you go closer instead of just pressing T. In any case, this is part of a series; it's not a self-contained video, so there shouldn't be a problem with playing sth you haven't showed how to do it yet. :D

  • @mikediaz7628
    @mikediaz7628 3 года назад +1

    Followed both channels, both have an insane amount of information. Thank you!!

  • @Prakaz
    @Prakaz 4 года назад

    Really enjoy watching your videos - very informative! Also you have one of the most soothing voice I've heard on RUclips 🙂

  • @yarickcherevko7022
    @yarickcherevko7022 4 года назад +1

    Matt, you are awesome! This is so elegant and effective. Thank you for walking us through. SUBSCRIBED!

    • @newbquesttv
      @newbquesttv  4 года назад +2

      Thanks very much Yarick! Really happy to hear you enjoyed it

  • @bs.michael
    @bs.michael Год назад +1

    Bei mir spawnen unendlich viele Level auf 1 stelle obwohl sie ja eigentlich hintereinander spannen sollten weißt du warum?

  • @bs.michael
    @bs.michael Год назад +1

    Hello matt in my game the level spawn in a stack and not behind each other do you know why?

  • @artinstroukeprod
    @artinstroukeprod 4 года назад +2

    Great explanation and simple system! Thank you for lesson!

  • @brauliojorgealmeida
    @brauliojorgealmeida 4 года назад +4

    Holy shit! This is pure gold! Thank you

    • @newbquesttv
      @newbquesttv  4 года назад

      Right on! Glad to hear it helped.

  • @Farrukh3D
    @Farrukh3D 4 года назад +4

    Great tutorial and interesting project. Thanks for sharing :)

    • @newbquesttv
      @newbquesttv  4 года назад +2

      Thanks Farrukh! You’ve been doing some great stuff too!

  • @StigDesign
    @StigDesign 4 года назад +1

    when am in shape i need to re watch this several times and try it, might be funn to add simular thing to my car game as som extra re-playability. :D
    this reminds me of the track editor in V-Rally2 :D

    • @newbquesttv
      @newbquesttv  4 года назад +1

      Cool thanks!

    • @StigDesign
      @StigDesign 4 года назад +1

      @@newbquesttv :D allready watched it 1 time :) but so tired, so i need to re-watch it laiter when i have sleept so that i can remember and learn from it :D

  • @firewatch123
    @firewatch123 Год назад

    but how to do it like in the game race the sun? so that it also generates sideways

  • @hichamtsouri4703
    @hichamtsouri4703 2 года назад

    WOOOW ..grt explanation.. flawless project

  • @Patricebrouh
    @Patricebrouh Год назад

    Hi Matt! Please can you explain me why you choose ScriptableObject for piece of Bloc. Is it more efficient ?

  • @alpha3836
    @alpha3836 2 года назад

    How do I make it so that a certain prefab spawns only after another certain prefab spawns?

  • @dcsflightdeck
    @dcsflightdeck 2 года назад

    Is there a way to make this spawn chunks in a straight line only for like a subway surfers game

    • @fillowskyy
      @fillowskyy Год назад

      ruclips.net/video/HIsEqKPoJXM/видео.html
      Look at that video.

  •  3 года назад

    I would like to see some gameplay next

  • @Зливипрошмандувань
    @Зливипрошмандувань 10 месяцев назад

    Awesome videos, but why public fields? Private + serializefield is much cleaner. Also we can serialize property using field:serializefield. It makes life a lot easier

  • @dcry1003
    @dcry1003 2 года назад

    noob question does the level generator also works for terrain generation? or do i need to convert terrain to mesh for the level generator to generate a level

  • @KJ7JHN
    @KJ7JHN 4 года назад

    Please make a video on adding track pieces/tiles to perlin noise generated tiles. Or possibly adding a bezeir curve to perlin noise generated tiles, then build track meshes based on the bezeir curve. Another direction, procedurally generated trees from perlin noise map. Thanks.

  • @rocketshader2699
    @rocketshader2699 Год назад

    How do you handle after your Z value reaches over 10K. I don't wanna go forward after 10k so I reset every chunk and players position to initial position but that makes car go jump and makes a weird sound glitch. Great video btw

  • @freedom667
    @freedom667 4 года назад

    can we instantiate only squares? So, without tracks?

    • @newbquesttv
      @newbquesttv  4 года назад

      yes you can instantiate any prefab using this approach

    • @freedom667
      @freedom667 3 года назад

      @@newbquesttv well, how can I put the finish line?

    • @freedom667
      @freedom667 3 года назад

      @@newbquesttv Don't you know it? How can I finish line object to the last

  • @gameniqinc5640
    @gameniqinc5640 4 года назад +1

    Hi Matt,
    Your tutorials are great. How did you achieve the effect of(I think missiles going out) at 1:02? Can you make a tutorial on how to create light emitting objects in Unity?

  • @markgianturco5677
    @markgianturco5677 3 года назад

    Has anyone found a way to make this work vertically as well?

  • @RenukaYadav-dn8pm
    @RenukaYadav-dn8pm 3 года назад

    Hlo brother can you tell me the track name PLZZ I want to download yhat

    • @newbquesttv
      @newbquesttv  3 года назад +1

      The music you mean? Sorry it's a piece of music that I made myself, it's not publicly available.

    • @RenukaYadav-dn8pm
      @RenukaYadav-dn8pm 3 года назад

      @@newbquesttv I asked for track name to download it from asset store

  • @valuefront9959
    @valuefront9959 4 года назад +1

    yess! love your tutorials

  • @rohaninabout
    @rohaninabout 3 года назад

    Thanks for such a great tutorial Matt, we're using your design in a game a buddy and I are working on.
    Quick question if you don't mind - you mentioned using Cinemachine between your level chunks. Just wondering what your design was for this? We have a vcam/track/dolly for each chunk, but it dampens when transitioning between the chunks. We want the cam and player on rails (like Star Fox), but it's pretty confusing!
    Anyway just thought I'd ask! Thanks in advance if you see this 😁

  • @kwsmani1677
    @kwsmani1677 4 года назад

    Can u do a coin generation algorithm for this kind of game pls ???

    • @newbquesttv
      @newbquesttv  4 года назад

      What do you mean by a coin generation algorithm? Like place collectible objects?

    • @kwsmani1677
      @kwsmani1677 4 года назад

      @@newbquesttv yes

  • @Aluminum_Lizard-um7mz
    @Aluminum_Lizard-um7mz 4 года назад +1

    github link
    you absolute weapon. cheers mate

    • @newbquesttv
      @newbquesttv  4 года назад

      "Absolute weapon" is a new one to me, I chuckled. Cheers dude, glad I could help.

  • @markingthefact
    @markingthefact 3 года назад +1

    did you know ur project is used as a reqruitment test at unity

    • @newbquesttv
      @newbquesttv  3 года назад

      I know they did something similar years ago when I got hired there, surprised they are still? Did you do it or someone you know?

  • @JoeV2257
    @JoeV2257 4 года назад

    Cool content you got my sub mate!

  • @mosaabmatar4117
    @mosaabmatar4117 3 года назад

    The Name of the assets ?

  • @pratyushpanshikar4774
    @pratyushpanshikar4774 4 года назад +2

    This is very good! When can we expect Parts 2 and 3?

    • @newbquesttv
      @newbquesttv  4 года назад

      Thank you! Part 2 just came out. Part 3 next weekend.

  • @OmeedNOuhadi
    @OmeedNOuhadi 2 года назад +1

    Awesome!

  • @charleswaltson7110
    @charleswaltson7110 4 года назад

    Thank you very very much.

  • @hanyabdoun
    @hanyabdoun 4 года назад

    i just love you man

  • @thelordz33
    @thelordz33 4 года назад +5

    Wow, i've only been game developing for 3 days and I'm already learning about switches when YanDev has been coding for years and still doesn't know what they are

  • @bogasier
    @bogasier 4 года назад

    Why dislike?

  • @icaroamorim3123
    @icaroamorim3123 4 года назад

    In the first 30 seconds he already show how peaple who understand things do.

  • @ni_kabiu_john
    @ni_kabiu_john 4 года назад

    Good stuff... sub'd

  • @joepleavin3554
    @joepleavin3554 4 года назад

    Berlin

  • @tomazravljen8984
    @tomazravljen8984 3 года назад

    clickbait - I don't think this counts as procedural generation, it's just random level generation :D