Procedural World Generation | How does it work?
Learn all about how 2d Procedural World / Landscape Generation works in Paper Minecraft, Scratcharia and Terraria Stamped. We cover the stages - land formation of dirt, stone, and ores. Generate natural Cave systems, Grow grass, vines & trees, flow water and illuminate the scene with light. This is just an overview to help Scratchers understand just what was involved in creating these awesome random sandbox levels.
My tutorials are for all budding game & software developers using Code Blocks. Scratch On guys!
👀 Pathfinding Tutorial - • Simple Pathfinding Tut...
👀 Grid List Tutorial - • Simple Grid List Tutor...
👀 Pathfinding with Lists Tutorial - • Pathfinding a Maze usi...
👀 Auto Arranging Tiles Tutorial - • Tile Scrolling Platfor...
🐱 Paper Minecraft - scratch.mit.edu/projects/1012...
🐱 Terraria Stamped - scratch.mit.edu/projects/3223...
🚀 Boost Your Creativity with Griffpatch
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at 👉 griffpatch.academy 👈
😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
❤️ Scratch Addons - scratchaddons.com/
📹 Video Editing Software - techsmith.z6rjha.net/5bajbo
-------------Video Chapters-------------
0:00 Intro
0:38 Paper Minecraft - Overview
3:26 Terraria Stamped
7:28 World Gen Components
8:38 Terraria Quick Explore
13:04 In the beginning there was dirt and stone
14:40 Perlin Noise or Scribble?
16:02 Scratch Brush Strokes
17:00 Ores
17:13 Caves
18:02 The Epic Cave
18:28 Adding the sky last
19:20 Adding Structures
19:41 Growing the Grass
20:24 Reskin
20:50 Adding Water
21:38 Illuminate
22:00 Conclusion
22:51 Outro
Пікірлер: 812
Griffpatch is really just giving away ALL of his secrets these days :3
@gunjantutorial7405
2 жыл бұрын
Hi chipm0nk I am your follower
@averylehner5794
2 жыл бұрын
well im thankful of it
@moutushipaul3773
2 жыл бұрын
Hi I know you in scratch
@MaddinPlayz
2 жыл бұрын
@@averylehner5794 ikr
@squidguset
2 жыл бұрын
WELL HES NOT A MAGICIAN
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
2 жыл бұрын
yessss ikr, its insane
@alvargd6771
2 жыл бұрын
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
2 жыл бұрын
@@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
2 жыл бұрын
He's teaching you basic computer science and certain algorithms
@tatertotboi
Жыл бұрын
@@alvargd6771 you when one person doesn't make a game as good as a massive company (unbearable)
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
2 жыл бұрын
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??
@lasercatto
2 жыл бұрын
@@CubsYT I'm curious. Link?
@js62926
2 жыл бұрын
I use Roblox Studio to make some perlin-based terrain and it also never made sense how to do it in Scratch.
@CubsYT
2 жыл бұрын
@@js62926 I left a link to a scratch project which shows how to use perlin noise in scratch but I think it got deleted, bummer
@js62926
2 жыл бұрын
@@CubsYT oh. thats okay though
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!
I wasn't expecting this, I was expecting a platformer tutorial but this also looks interesting!
@user-uq4xw4xo5d
2 жыл бұрын
Me too
@profilewastaken
10 ай бұрын
same here
yea, finally some random generation, each lesson is adding on from the next. (Its amazing, great job giffpatch)
@annihilate2479
2 жыл бұрын
Griffpatch
@memetech-
2 жыл бұрын
We doing a griffpatch chain? Allright. Griffpatch :)
@gunterjudd5406
2 жыл бұрын
Sorry for miss naming "Griffpatch"
Amazing as always, Griffpatch! Deserves more recognition.
@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
This video made me want a Griffpatch let's play channel with narration and stuff
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!
Not only do you make the best tutorials but you make them so fun to watch as well!
This is amazing! I suggest you do more explanation videos like this. It's really helpful!
@griffpatch
2 жыл бұрын
Thank you! That's really useful feedback.
Great tutorial! I like the concept of learning the theory before you code it, so you understand exactly what you're doing!
@griffpatch
2 жыл бұрын
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
2 жыл бұрын
@@griffpatch This is Really cool even though I did vote for tile scrolling Platformer but can we do 3d generation?
@griffpatch
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
2 жыл бұрын
@@griffpatch yeah but that does not use images to make it look like a realistic game so it would be just colors 🤔
@griffpatch
2 жыл бұрын
@@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.
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!
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
I love having This Playing in the background while playing terraria!
Nice tutorial, and congrats on 300,000 followers!
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 :)
@griffpatch
2 жыл бұрын
Wow well done :D
@pazvillas-boas8255
Жыл бұрын
@@griffpatch this is kinda wholesome
@roobogaming
Жыл бұрын
@Paz Villas-Bôas Ye
Atlast with the amazing tutorial! I was waiting for that!!
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 :)
Thanks for showing us how minecraft works, keep your render distance up!
I cannot wait the next terrain generator tutorial 😭 So good video !!!
@user-ub5lk8ui7i
2 жыл бұрын
me to
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. ;)
@griffpatch
2 жыл бұрын
Glad it was helpful!
Ive been waiting for this one!!! thank griffpatch
Ur the best scratch youtuber ever! I always follow ur tutorial is helped me alot! Thank you *Mr.Griffpatch*
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
2 жыл бұрын
Im a lua and arduino guy, im glad people get inspired by griffpatch
@moltony
2 жыл бұрын
i am an intermediate c++ coder
@kvahn
2 жыл бұрын
@@moltony actually same and I now use c and x86_64 assembly and I also have an arduino
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
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!
I've been wondering what to comment since an hour... Im just so speechless at your ideas, creativity and epicness!
@griffpatch
2 жыл бұрын
Wow, thank you!
This video help me a lot to make my school project (but not in scratch) do thank you for a really good explanation!!
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
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.
@pentaguin5s
Жыл бұрын
I play Mario party every 2-3 weeks
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
@HapxDev
2 жыл бұрын
Hi bro
@user-ub5lk8ui7i
2 жыл бұрын
Oh Hey ShiftClickLearn I Am Making Cat Clicker Game and scrolling platformer
you gan make EVERYTHING IN SCRATCH and i love your projects! :)
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.
So cool! I can't wait for the next video on this :3
Easily my favourite griffpatch video. Such a cool subject.
What would I do without my beloved scratch terraria 😭😭 Keep up the great work man❤️❤️
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
2 жыл бұрын
Glad it was helpful! - Thanks for the sub
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!
Very Impressive Griffpatch. I loved the detailed explanation of the 2d World Generation. Thanks for the video.
@griffpatch
2 жыл бұрын
Glad you enjoyed it!
FINALLY! BEEN WAITING FOR A WHOLE WEEK!
@user-ub5lk8ui7i
2 жыл бұрын
Me To I was Waiting T - T
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
2 жыл бұрын
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
Жыл бұрын
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
man I remember seeing your stuff WAY back when. This is nostalgic : )
Thanks for all the tips for scratch projects you Inspired me to make projects 🙂
Fantastic! I haven't been watching your previous tutorials, I've been too busy, sorry!
Griffpatch you smile and laugh make me happy and proud of you
Hi griffpatch thanks for this amazing tutorial :)
I love the Ray casting Idea did you come up with it You are a genius
i loved your terraria remake it was sooo good
Wow, this is some really interesting stuff!
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
That incredible, and very realistic!!!
Congrats on 300,000 followers on Scratch!!
@Twin138956Productions2019
2 жыл бұрын
:D
@griffpatch
2 жыл бұрын
Thank you :D
@chiroyce
2 жыл бұрын
@@griffpatch You're welcome! Are you making a special project or something to celebrate? :D
@minergangg
2 жыл бұрын
@@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
2 жыл бұрын
@@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!!!
nice i have been waiting for this for a long time
yeah This is what I've wanted for so long!! I will try to use this in a game 😁
Yay!!!!!!!!!!! I very needed that for a long time.
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.
Every video you post I's like I don't need to watch it because I know it's gonna be be awesome
Was waiting for this vid !!
Its fun to see griffpatch playing and enjoying his own games!
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...
@griffpatch
2 жыл бұрын
Thank you so much!
Great Job Griffpatch!
you are literally the best scratcher ever
it took me like 2 minutes to realise you made paper Minecraft. Bro I love your work
wow, i love your tutorial so much
Mind Blown!!! 😱 also 2 million mail wow
Like always amazing video
Thank you so much. You are my best scratch teacher
This was really interesting and helpful.
This is extremely helpful compared to what I used to do for generating.
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!!
Well presented as usual!
@griffpatch
2 жыл бұрын
I appreciate that
@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
21:00 - "Gosh, I love water!" I dont understand why but that sounds hilarious when you think of it without context.
Wow is so beautiful and fun!! Let’s do this!!
graffipatch is so good i love hem
This is going to make my brain explode, Good video!
@griffpatch
2 жыл бұрын
Nah, don't panic - It's not a coding video, more of a guide to beginning the process!
@Haynster
2 жыл бұрын
@@griffpatch if there is a coding video everyone's brain will either explode or expand that day LOL
Happy 80k subscribers🎉🎊
@griffpatch
2 жыл бұрын
Thanks! 😃
i havent watched the whole video but i already know its good
👍👍 good really great explanation
We need a tutorial on how to make this ourselves! I would love to make something like it!
I like your Idea of making a 2D Minecraft game that is not so Mind Consuming Well done!
Very cool game :D would love to see some bosses like the eye of cthulu!
I just love your videos.
The terraria stamped section really makes me want to play terraria or watch stampy’s terraria videos for some reason
griffpatch is the best teacher in the world
@zsoul_yt
2 жыл бұрын
indeed
@justarandomnerd5520
2 жыл бұрын
Can’t refuse that
Wow, your terrain generation is amazing? Would it be possible to make a tutorial on the coding portion of the subject? Thanks!
Wow that's amazing
Great video!
We've been waiting FOREVER for this tutorial! Is it coming out soon?
Cool Tutorial
hmm.. An explainatory video, nicee!
almost 80k! Let's get him to 80k, #Roadto100k and #GetDaVerificationBadge
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
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
2 жыл бұрын
Yeah that's right! Like 8 years ago now
-16:40 Appel by the way from now on I will list Easter eggs keep your eyes 👀 peeled to see these !
@annihilate2479
2 жыл бұрын
Got something wrong it should be ….
@annihilate2479
2 жыл бұрын
Oh -16:40
@annihilate2479
2 жыл бұрын
Hmm it should be negative 16:40 but I don’t know how to get negative
@annihilate2479
2 жыл бұрын
Easter egg got wrong is in 6:52
This is so good!
thank you for teaching me
Epic... Thank You :D
Quick question, in your Terraria (stamped), how did you come up with the values for Setup's _ores list? I've tried comparing the values to Terraria's source code and can't find any correlation.