Procedural World Generation | How does it work?

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

КОМЕНТАРІ • 828

  • @chipm0nk
    @chipm0nk 3 роки тому +337

    Griffpatch is really just giving away ALL of his secrets these days :3

  • @Super-qr7wm
    @Super-qr7wm 3 роки тому +112

    This man is slowly creating a beastly generation of genius coders
    "in this video I made terrain generation similar to expert teams and did for free while doing it in a engine meant for children"
    is basically the title

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

      yessss ikr, its insane

    • @alvargd6771
      @alvargd6771 3 роки тому +3

      The generation showcased in this video was made by 1 or 2 unexperienced programmers in a month or so 10 years ago
      Terraria pays more attention to balancing the over 5000 items, >500 mobs, around 20 bosses, array of different biomes, extensive soundtrack, the incredible amount of pixel art, plenty of different mechanics like fishing, events, golf, wind, health, accesories, inventory, etc and its steady progression system
      Also scratch wasnt just meant for little kids

    • @Super-qr7wm
      @Super-qr7wm 3 роки тому +8

      @@alvargd6771 its meant to teach children the basics of coding and I using it to exaggerate what the man did cause I have played terraria before and I know that this is just a fragment of the game but it emphasizes what he did because I found it so cool

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

      He's teaching you basic computer science and certain algorithms

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

      @@alvargd6771 you when one person doesn't make a game as good as a massive company (unbearable)

  • @MrCrompz
    @MrCrompz 3 роки тому +167

    I have made several games in Unity using perlin noise to achive procedural generation, but I have always wondered about how you can do it in Scratch. The idea of using the brush to create noise maps in genius! Thanks for the video!

    • @CubsYT
      @CubsYT 3 роки тому +3

      Perlin noise is more than possible in Scratch, it just takes a bit of math inside of a custom function. If you're curious I could send you a project which features an easily useable one??

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

      @@CubsYT I'm curious. Link?

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

      I use Roblox Studio to make some perlin-based terrain and it also never made sense how to do it in Scratch.

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

      @@Pratixx I left a link to a scratch project which shows how to use perlin noise in scratch but I think it got deleted, bummer

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

      @@CubsYT oh. thats okay though

  • @elvingpierre8060
    @elvingpierre8060 3 роки тому +41

    Great tutorial! I like the concept of learning the theory before you code it, so you understand exactly what you're doing!

    • @griffpatch
      @griffpatch  3 роки тому +8

      Glad it was helpful! - Yes, after thinking hard on how to go about this one, I decided there was too much to cover to make a good one that went straight into coding.

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

      @@griffpatch This is Really cool even though I did vote for tile scrolling Platformer but can we do 3d generation?

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

      @@redermac5667 We won't be doing much 3d in Scratch because it's not really suited. And those that do are very advanced coders already. We can do some simple stuff, and maybe a raycaster maze style project?

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

      @@griffpatch yeah but that does not use images to make it look like a realistic game so it would be just colors 🤔

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

      @@redermac5667 Yes indeed... If you look at my own 3d projects, I have never made a textured 3d game either... It just takes so much time/effort in Scratch that I tend to work on projects like that too much.

  • @tronche2cake
    @tronche2cake 3 роки тому +8

    This video made me want a Griffpatch let's play channel with narration and stuff

  • @thegreenhoodieguy
    @thegreenhoodieguy 3 роки тому +3

    This video is super helpful! People have been trying to add Minecraft updates to Paper Minecraft (some of them are really good), but now we can actually make our own games because of this tutorial!
    Thanks for this!

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

    i can not tell you how long i have searched for someone to explain the process of making a game like this. Thank you 1000x

  • @Thyflooder
    @Thyflooder 3 роки тому +26

    yea, finally some random generation, each lesson is adding on from the next. (Its amazing, great job giffpatch)

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

      Griffpatch

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

      We doing a griffpatch chain?
      Allright.
      Griffpatch :)

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

      Sorry for miss naming "Griffpatch"

  • @BoioBoio
    @BoioBoio 3 роки тому +3

    What would I do without my beloved scratch terraria 😭😭
    Keep up the great work man❤️❤️

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

    For the last few months I have been working on a sandbox game similar to terraria, and now I have come to this video and see that you use the same techniques as me for world generation. So neat!

  • @emeraldthunder
    @emeraldthunder 3 роки тому +3

    I've been looking for a good introduction to random generation and this is really the best one out there. It's quite easy to understand al of the steps. Thank you for taking your time to make this!

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

    Thanks for showing us how minecraft works, keep your render distance up!

  • @SileyCone
    @SileyCone 3 роки тому +36

    Amazing as always, Griffpatch! Deserves more recognition.

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

      i didnt even know he had a youtube channel, i thought he was just that really smart guy on scratch that made the best scratch games

  • @macronas1239
    @macronas1239 3 роки тому +39

    I wasn't expecting this, I was expecting a platformer tutorial but this also looks interesting!

  • @kvahn
    @kvahn 3 роки тому +10

    I remember when I was smaller and I played a griffpatch game on scratch, and I wanted to create my own, so I did try to. Eventually I moved to HTML then Javascript and Python and am now trying to learn Java. Thanks

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

      Im a lua and arduino guy, im glad people get inspired by griffpatch

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

      i am an intermediate c++ coder

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

      @@moltony actually same and I now use c and x86_64 assembly and I also have an arduino

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

    the king of the masters. The time, the effort and the work that this Man is putting here, has an incalculable impact for future generations of programmers

  • @Lisandroxd
    @Lisandroxd 3 роки тому +15

    I hope this doesn't have too many grammatical errors (because I'm using Google Translate) because I don't speak English, but I wanted to thank you. I started working on my own minecraft paper when your first (Mario) platformer tutorial came out, and I already created most of the things you explained, and I'm proud that I could have done it before you released this video. Take care of yourself and keep it up, and sorry for the text so long :)

  • @calmguitar8530
    @calmguitar8530 3 роки тому +3

    Not only do you make the best tutorials but you make them so fun to watch as well!

  • @johnpn6747
    @johnpn6747 3 роки тому +69

    This is amazing! I suggest you do more explanation videos like this. It's really helpful!

    • @griffpatch
      @griffpatch  3 роки тому +11

      Thank you! That's really useful feedback.

  • @rohansachdeva4952
    @rohansachdeva4952 3 роки тому +3

    I've been wondering what to comment since an hour... Im just so speechless at your ideas, creativity and epicness!

  • @morveman_yt9567
    @morveman_yt9567 3 роки тому +15

    I cannot wait the next terrain generator tutorial 😭
    So good video !!!

    • @boyo-d
      @boyo-d 3 роки тому +1

      me to

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

    This video help me a lot to make my school project (but not in scratch) do thank you for a really good explanation!!

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

    Atlast with the amazing tutorial! I was waiting for that!!

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

    perfect tutorial. me and a friend wanted to make a terraria like game but we dont have much epeirience. we were gonna give up, but then youtube came to the rescue. keep up the great work!

  • @nyx8385
    @nyx8385 3 роки тому +7

    Ive been waiting for this one!!! thank griffpatch

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

    it took me like 2 minutes to realise you made paper Minecraft. Bro I love your work

  • @banana5618
    @banana5618 3 роки тому +3

    i loved your terraria remake it was sooo good

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

    This is actually very useful because a while ago I had an Idea but needed terrain generation and had no idea how to do it

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

    I love these kinds of videos! I use Godot, but the fact that you explained all of these concepts visually and without writing a single line of code means that I could replicate this in Godot, or any engine for that matter! Definitely subscribing to your channel.

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

      Glad it was helpful! - Thanks for the sub

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

    I actually like having these tutorials that explain big and complicated concepts without the scratch code. Maybe a few more of those? Great as always :)

  • @epicalxd159
    @epicalxd159 3 роки тому +6

    FINALLY! BEEN WAITING FOR A WHOLE WEEK!

    • @boyo-d
      @boyo-d 3 роки тому

      Me To I was Waiting T - T

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

    Ur the best scratch youtuber ever! I always follow ur tutorial is helped me alot! Thank you *Mr.Griffpatch*

  • @SleepDeprivedGinger
    @SleepDeprivedGinger 3 роки тому +16

    The effort you put into your projects is extremely impressive! You’re easily the best creator on Scratch! Keep up the great work!
    PS: I want to quickly make a suggestion if that’s alright, which is a series on how to make a Mario Party game! It’s one of my favourite multiplayer game series’ of all time, and I really want to recreate it on Scratch.

    • @birdieW-79
      @birdieW-79 2 роки тому

      I play Mario party every 2-3 weeks

  • @jensenx08
    @jensenx08 3 роки тому +6

    griffpatch is the best teacher in the world

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

    Griffpatch you smile and laugh make me happy and proud of you

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

    hmm.. An explainatory video, nicee!

  • @chiroyce
    @chiroyce 3 роки тому +3

    Congrats on 300,000 followers on Scratch!!

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

      :D

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

      Thank you :D

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

      @@griffpatch You're welcome! Are you making a special project or something to celebrate? :D

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

      @@chiroyce i don't he is doing that XD he only did one for 100,000 followers , he didn't do it for 200,000 XD

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

      @@chiroyce I wish :D - I haven't had any time to make a Scratch Project except in creating a video! So much to do - So little time!!!

  • @Taro-yt4tk
    @Taro-yt4tk 3 роки тому

    @griffpatch well, it's a glitch that doesn't make you go away from the wall when walljumping:
    If you look at the other side of the wall you are on and at that precise moment you jump, you do a walljump that doesn't make you go away from the wall, it can be useful for speedruns

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

    Me ( thinking ) A Magician never reveals his/her secrets.
    griffpatch : Paint!! It's all paint!! and circles of course. But mainly paint!!!
    Me : Certainly a secrets-revealing magician he is!!

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

    Oh a cool way to show how your projects works! i thought this video of world generation was about *how to copy minecraft now* xD

  • @dr.cronic8267
    @dr.cronic8267 3 роки тому +2

    Can’t wait to see this series grow! Hopefully we will eventually to save systems. I’m making a survival game and know everything I need for it, but save systems are the one thing I’m not sure how to code.

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

      Use a global variable with a list, and make a block that reads from the global variable.
      That is literally my whole idea for how to make saving systems in scratch.

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

      the easiest way is to somehow encode the entire level into one string and make the player copy it. In fact, I'll list a couple of ways to do that.
      1) Whenever you are being random, use a seed-based random system so your entire world can be controlled by one number, this makes saving the base world much easier.
      2) Add in parts for every time the user/world has changed in some way
      3) Profit

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

    Mind Blown!!! 😱
    also 2 million mail wow

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

    Recommendation for Griffpatch: maybe after a little bit of time to see your code, so we can reference it and see if we did it right

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

    Nearly a week ago i have been wondering about a project that includes procedural world generation, and oh boy, i know this is gonna be a ride in the next video!

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

    Nice tutorial, and congrats on 300,000 followers!

  • @scratch3.0cattimatimyr33
    @scratch3.0cattimatimyr33 3 роки тому +2

    Yay!!!!!!!!!!! I very needed that for a long time.

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

    The terraria stamped section really makes me want to play terraria or watch stampy’s terraria videos for some reason

  • @CushionKid-hi9jn
    @CushionKid-hi9jn Рік тому +1

    I wonder, could this game be made into a scrolling game if you were to implement chuck loading?

  • @ShiftClickLearn
    @ShiftClickLearn 3 роки тому +6

    Wow, this is quite spectacular! I've always wondered how you did the world generation. I have always thought you just used perlin noise but the way you did it is much simpler! Awesome video as always!
    Also, it feels weird hearing your voice and seeing something other than Scratch (Like Photoshop in the vid)! xD

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

      Hi bro

    • @boyo-d
      @boyo-d 3 роки тому +2

      Oh Hey ShiftClickLearn I Am Making Cat Clicker Game and scrolling platformer

  • @yellow-brain4735
    @yellow-brain4735 3 роки тому +2

    Wow! Amazing video! You really surprised me this time! Nice explanation of such a hard topic, I am currently using your pathfinding method and brush idea in my own tile game and it works great! Never could have imagined trying to use something so simple to tackle such a big idea. Looking fore ward to that next video. ;)

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

    yeah This is what I've wanted for so long!! I will try to use this in a game 😁

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

    This takes " Minecraft is 2D Terraria to another level "

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

    man I remember seeing your stuff WAY back when. This is nostalgic : )

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

    Its fun to see griffpatch playing and enjoying his own games!

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

    This is probably VERY of topic here, but a have a suggestion on 2 videos for the Tile plat-former, and since you haven't made much of those in a while, here are some ideas 1: Bullet bills (we really need those) 2: Moving platforms! I am interested in how those work in tile scrolling.

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

    Every video you post I's like I don't need to watch it because I know it's gonna be be awesome

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

    Since this isn't really creating a project, I think it would have been more fitting to have the intro say "Ideas with griffpatch" instead of "Create with griffpatch", the Ideas button is already there!

  • @-T0Ast200-
    @-T0Ast200- 3 роки тому +3

    We need a tutorial on how to make this ourselves!
    I would love to make something like it!

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

    Very Impressive Griffpatch. I loved the detailed explanation of the 2d World Generation. Thanks for the video.

  • @hominh6005
    @hominh6005 3 роки тому +3

    This is going to make my brain explode, Good video!

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

      Nah, don't panic - It's not a coding video, more of a guide to beginning the process!

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

      @@griffpatch if there is a coding video everyone's brain will either explode or expand that day LOL

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

    This is extremely helpful compared to what I used to do for generating.

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

    graffipatch is so good i love hem

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

    almost 80k! Let's get him to 80k, #Roadto100k and #GetDaVerificationBadge

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

    Wow is so beautiful and fun!! Let’s do this!!

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

    21:00 - "Gosh, I love water!"
    I dont understand why but that sounds hilarious when you think of it without context.

  • @pranavxd4606
    @pranavxd4606 3 роки тому +3

    Griffpatch - 'i rule'
    Me - I wish I can code like and rule like griffpatch

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

      Just watch my videos, follow along with the tutorials, and importantly, experiment yourself!!! You'll get there in no time!

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

    you gan make EVERYTHING IN SCRATCH and i love your projects! :)

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

    I love the Ray casting Idea did you come up with it You are a genius

  • @mondrebester1546
    @mondrebester1546 Рік тому +1

    I like this awesome explanation video I would like to know how you programed Terraria Stamp
    can you make a tutorial video on how to add any object and give it life or a function and can you please finish The eye of cthulhu Npc give it life so I can battle it you are awesome!

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

    he's passing over the gift he got from the scratch gods to US!

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

    News reporter: Hello griffpatch i want to ask you a question, How do you move? Griffpatch: By using speed x
    And by the way thank you so much for this tutorial Your the best scratcher ever!! :D

  • @B1er0l14m
    @B1er0l14m 3 роки тому +3

    I've been playing Terraria Stamped recently and it's fascinated to know how it's generated. Amazing tutorial!
    Are you going to eventually continue Terraria Stamped? I would really like to play with more content.

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

    me: watching griffpatch play his own game for 5 minutes
    and yay we get to learn world generation! Maybe I'll make a new paper minecraft update: caves and cliffs

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

    hey fellow scratcher, when he says it all my games start working

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

    Fantastic! I haven't been watching your previous tutorials, I've been too busy, sorry!

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

    So cool! I can't wait for the next video on this :3

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

    the minecraft caves and cliffs update really made the cave generation more grand like terraria's :)

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

    That incredible, and very realistic!!!

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

    I like your Idea of making a 2D Minecraft game that is not so Mind Consuming Well done!

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

    Wow, this is some really interesting stuff!

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

    Could you make a tutorial showing how to make simple generations? it could just be the surface trees and ores, or whatever you think is better

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

    yay griffpatch upload

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

      ty griffpatch for liking my comment

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

    Pretty interesting. Usually when I generate caves, I just select a random point in the grid and start moving in random directions.

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

    Sorry, but can you do the video, how to make "Paper Minecraft"? If you did, it looking cool! And, you are the best scratcher of world!

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

    Thanks for all the tips for scratch projects you Inspired me to make projects 🙂

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

    This is the treat everyone wanted after another depressing COVID-19 halloween

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

    i have never seen terraria in scratch now im gonna try it

  • @IkinBBfromAnthologyOfTheKiller
    @IkinBBfromAnthologyOfTheKiller 2 роки тому +2

    Wait a second,you created Paper Minecraft?
    I used to play that all the time when i was a kid!That's cool :D

    • @griffpatch
      @griffpatch  2 роки тому +2

      Yeah that's right! Like 8 years ago now

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

    oh im late sorry ^^ as usal, this is so good, and i enjoy every episode, even if i dont like the theme
    , you make it fun to watch...

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

    really like the theory video, instead of having to watch an entire coding video to learn the concept

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

    I love you griffpatch a lot!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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

    YAY new upload

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

    Great Job Griffpatch!

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

    i wouldn’t be surprised if this man made a fully functional 3D engine with Scratch😂

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

    Was waiting for this vid !!

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

    this terraria clone is so good at some point i was thinking it was just a video

  • @jensenx08
    @jensenx08 3 роки тому +5

    cheasure test is british accent sire treblon XD

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

    Hi griffpatch thanks for this amazing tutorial :)

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

    Well presented as usual!

  • @toby-we3zj
    @toby-we3zj 2 роки тому +1

    Griffpatch: I couldn't afford terraria so I remade the whole game in scratch!