Endless Runner: Procedural Track Generation (Unity Tutorial)

Поділитися
Вставка
  • Опубліковано 12 вер 2024

КОМЕНТАРІ • 81

  • @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 3 роки тому

      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

  • @iangraham6730
    @iangraham6730 4 роки тому +3

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

  • @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.

  • @Prakaz
    @Prakaz 3 роки тому

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

  • @mikediaz7628
    @mikediaz7628 3 роки тому +1

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

  • @brauliojorgealmeida
    @brauliojorgealmeida 4 роки тому +4

    Holy shit! This is pure gold! Thank you

    • @newbquesttv
      @newbquesttv  4 роки тому

      Right on! Glad to hear it helped.

  • @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

  • @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!

  • @bs.michael
    @bs.michael 11 місяців тому +1

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

  • @artinstroukeprod
    @artinstroukeprod 3 роки тому +2

    Great explanation and simple system! Thank you for lesson!

  • @Зливипрошмандувань
    @Зливипрошмандувань 7 місяців тому

    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

  • @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 😁

  • @valuefront9959
    @valuefront9959 3 роки тому +1

    yess! love your tutorials

  • @hichamtsouri4703
    @hichamtsouri4703 2 роки тому

    WOOOW ..grt explanation.. flawless project

  • @bs.michael
    @bs.michael 11 місяців тому +1

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

  • @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

  • @OmeedNOuhadi
    @OmeedNOuhadi 2 роки тому +1

    Awesome!

  • @firewatch123
    @firewatch123 Рік тому

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

  • @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

  • @Patricebrouh
    @Patricebrouh Рік тому

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

  • @KJ7JHN
    @KJ7JHN 3 роки тому

    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.

  • @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

  •  2 роки тому

    I would like to see some gameplay next

  • @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?

  • @alpha3836
    @alpha3836 2 роки тому

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

  • @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?

  • @JoeV2257
    @JoeV2257 4 роки тому

    Cool content you got my sub mate!

  • @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.

  • @hanyabdoun
    @hanyabdoun 4 роки тому

    i just love you man

  • @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 Рік тому

      ua-cam.com/video/HIsEqKPoJXM/v-deo.html
      Look at that video.

  • @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

  • @Aluminum_Lizard-um7mz
    @Aluminum_Lizard-um7mz 3 роки тому +1

    github link
    you absolute weapon. cheers mate

    • @newbquesttv
      @newbquesttv  3 роки тому

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

  • @charleswaltson7110
    @charleswaltson7110 3 роки тому

    Thank you very very much.

  • @markgianturco5677
    @markgianturco5677 3 роки тому

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

  • @freedom667
    @freedom667 3 роки тому

    can we instantiate only squares? So, without tracks?

    • @newbquesttv
      @newbquesttv  3 роки тому

      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

  • @ni_kabiu_john
    @ni_kabiu_john 3 роки тому

    Good stuff... sub'd

  • @mosaabmatar4117
    @mosaabmatar4117 3 роки тому

    The Name of the assets ?

  • @icaroamorim3123
    @icaroamorim3123 4 роки тому

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

  • @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

  • @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

  • @bogasier
    @bogasier 4 роки тому

    Why dislike?

  • @joepleavin3554
    @joepleavin3554 4 роки тому

    Berlin

  • @tomazravljen8984
    @tomazravljen8984 3 роки тому

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