Тёмный

Procedural World Generation | How does it work? 

griffpatch
Подписаться 366 тыс.
Просмотров 377 тыс.
50% 1

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

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

 

3 июл 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 815   
@chipm0nk
@chipm0nk 2 года назад
Griffpatch is really just giving away ALL of his secrets these days :3
@gunjantutorial7405
@gunjantutorial7405 2 года назад
Hi chipm0nk I am your follower
@averylehner5794
@averylehner5794 2 года назад
well im thankful of it
@moutushipaul3773
@moutushipaul3773 2 года назад
Hi I know you in scratch
@MaddinPlayz
@MaddinPlayz 2 года назад
@@averylehner5794 ikr
@squidguset
@squidguset 2 года назад
WELL HES NOT A MAGICIAN
@MrCrompz
@MrCrompz 2 года назад
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 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
@lasercatto 2 года назад
@@CubsYT I'm curious. Link?
@js62926
@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
@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
@js62926 2 года назад
@@CubsYT oh. thats okay though
@Super-qr7wm
@Super-qr7wm 2 года назад
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 2 года назад
yessss ikr, its insane
@alvargd6771
@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
@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
@yuka8286 2 года назад
He's teaching you basic computer science and certain algorithms
@tatertotboi
@tatertotboi Год назад
@@alvargd6771 you when one person doesn't make a game as good as a massive company (unbearable)
@macronas1239
@macronas1239 2 года назад
I wasn't expecting this, I was expecting a platformer tutorial but this also looks interesting!
@user-uq4xw4xo5d
@user-uq4xw4xo5d 2 года назад
Me too
@profilewastaken
@profilewastaken 11 месяцев назад
same here
@elvingpierre8060
@elvingpierre8060 2 года назад
Great tutorial! I like the concept of learning the theory before you code it, so you understand exactly what you're doing!
@griffpatch
@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
@redermac5667 2 года назад
@@griffpatch This is Really cool even though I did vote for tile scrolling Platformer but can we do 3d generation?
@griffpatch
@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
@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
@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.
@emeraldthunder
@emeraldthunder 2 года назад
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!
@BoioBoio
@BoioBoio 2 года назад
What would I do without my beloved scratch terraria 😭😭 Keep up the great work man❤️❤️
@gunterjudd5406
@gunterjudd5406 2 года назад
yea, finally some random generation, each lesson is adding on from the next. (Its amazing, great job giffpatch)
@annihilate2479
@annihilate2479 2 года назад
Griffpatch
@memetech-
@memetech- 2 года назад
We doing a griffpatch chain? Allright. Griffpatch :)
@gunterjudd5406
@gunterjudd5406 2 года назад
Sorry for miss naming "Griffpatch"
@SileyCone
@SileyCone 2 года назад
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
@calmguitar8530
@calmguitar8530 2 года назад
Not only do you make the best tutorials but you make them so fun to watch as well!
@johnpn6747
@johnpn6747 2 года назад
This is amazing! I suggest you do more explanation videos like this. It's really helpful!
@griffpatch
@griffpatch 2 года назад
Thank you! That's really useful feedback.
@tronche2cake
@tronche2cake 2 года назад
This video made me want a Griffpatch let's play channel with narration and stuff
@gunjantutorial7405
@gunjantutorial7405 2 года назад
Atlast with the amazing tutorial! I was waiting for that!!
@thegreenhoodieguy
@thegreenhoodieguy 2 года назад
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
@nyx8385
@nyx8385 2 года назад
Ive been waiting for this one!!! thank griffpatch
@uselesstrash8430
@uselesstrash8430 2 года назад
I love having This Playing in the background while playing terraria!
@morveman_yt9567
@morveman_yt9567 2 года назад
I cannot wait the next terrain generator tutorial 😭 So good video !!!
@user-ub5lk8ui7i
@user-ub5lk8ui7i 2 года назад
me to
@neonsphere3129
@neonsphere3129 10 месяцев назад
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!
@epicalxd159
@epicalxd159 2 года назад
FINALLY! BEEN WAITING FOR A WHOLE WEEK!
@user-ub5lk8ui7i
@user-ub5lk8ui7i 2 года назад
Me To I was Waiting T - T
@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 :)
@privatei3080
@privatei3080 2 года назад
So cool! I can't wait for the next video on this :3
@obithyustimothy5136
@obithyustimothy5136 2 года назад
Ur the best scratch youtuber ever! I always follow ur tutorial is helped me alot! Thank you *Mr.Griffpatch*
@nonexistence00
@nonexistence00 2 года назад
Thanks for showing us how minecraft works, keep your render distance up!
@Twin138956Productions2019
@Twin138956Productions2019 2 года назад
Nice tutorial, and congrats on 300,000 followers!
@scratch3.0cattimatimyr33
@scratch3.0cattimatimyr33 2 года назад
Yay!!!!!!!!!!! I very needed that for a long time.
@rohansachdeva4952
@rohansachdeva4952 2 года назад
I've been wondering what to comment since an hour... Im just so speechless at your ideas, creativity and epicness!
@griffpatch
@griffpatch 2 года назад
Wow, thank you!
@happyfishgaming69
@happyfishgaming69 Год назад
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!
@yellow-brain4735
@yellow-brain4735 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. ;)
@griffpatch
@griffpatch 2 года назад
Glad it was helpful!
@spoopyissad
@spoopyissad 2 года назад
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
@banana5618
@banana5618 2 года назад
i loved your terraria remake it was sooo good
@youssefhajjaji7050
@youssefhajjaji7050 2 года назад
That incredible, and very realistic!!!
@AprendizSerial1979
@AprendizSerial1979 2 года назад
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
@kyledalegend18
@kyledalegend18 2 года назад
Great Job Griffpatch!
@morveman_yt9567
@morveman_yt9567 2 года назад
This video help me a lot to make my school project (but not in scratch) do thank you for a really good explanation!!
@Lisandroxd
@Lisandroxd 2 года назад
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
@griffpatch 2 года назад
Wow well done :D
@pazvillas-boas8255
@pazvillas-boas8255 Год назад
@@griffpatch this is kinda wholesome
@roobogaming
@roobogaming Год назад
@Paz Villas-Bôas Ye
@liquidportal9082
@liquidportal9082 2 года назад
Wow, this is some really interesting stuff!
@sujatachavan9988
@sujatachavan9988 2 года назад
Was waiting for this vid !!
@rahulkolluru1342
@rahulkolluru1342 2 года назад
Very Impressive Griffpatch. I loved the detailed explanation of the 2d World Generation. Thanks for the video.
@griffpatch
@griffpatch 2 года назад
Glad you enjoyed it!
@smth35
@smth35 2 года назад
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!
@donkkonk5293
@donkkonk5293 2 года назад
nice i have been waiting for this for a long time
@kvahn
@kvahn 2 года назад
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 года назад
Im a lua and arduino guy, im glad people get inspired by griffpatch
@moltony
@moltony 2 года назад
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
@jameswoodcock485
@jameswoodcock485 2 года назад
Well presented as usual!
@griffpatch
@griffpatch 2 года назад
I appreciate that
@SARTHAKTHEMAN
@SARTHAKTHEMAN 2 года назад
Griffpatch you smile and laugh make me happy and proud of you
@pixelguy2231
@pixelguy2231 2 года назад
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
@antex_
@antex_ 2 года назад
you gan make EVERYTHING IN SCRATCH and i love your projects! :)
@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!
@MasterofTheDucks
@MasterofTheDucks 2 года назад
yeah This is what I've wanted for so long!! I will try to use this in a game 😁
@lukeninja032
@lukeninja032 2 года назад
Like always amazing video
@senn6743
@senn6743 2 года назад
Hi griffpatch thanks for this amazing tutorial :)
@ieatgrass20r86
@ieatgrass20r86 2 года назад
Mind Blown!!! 😱 also 2 million mail wow
@breannagoble3382
@breannagoble3382 2 года назад
Every video you post I's like I don't need to watch it because I know it's gonna be be awesome
@pramudia9999
@pramudia9999 2 года назад
Cool Tutorial
@G_l_o_b
@G_l_o_b 2 года назад
Wow that's amazing
@ShiftClickLearn
@ShiftClickLearn 2 года назад
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
@HapxDev 2 года назад
Hi bro
@user-ub5lk8ui7i
@user-ub5lk8ui7i 2 года назад
Oh Hey ShiftClickLearn I Am Making Cat Clicker Game and scrolling platformer
@alexzander7912
@alexzander7912 2 года назад
wow, i love your tutorial so much
@IamHighAf
@IamHighAf 2 года назад
Thanks for all the tips for scratch projects you Inspired me to make projects 🙂
@nhanvan9677
@nhanvan9677 2 года назад
Wow is so beautiful and fun!! Let’s do this!!
@neuba2380
@neuba2380 2 года назад
Great video!
@dr.cronic8267
@dr.cronic8267 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 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
@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
@Blob2763
@Blob2763 2 года назад
Fantastic! I haven't been watching your previous tutorials, I've been too busy, sorry!
@sleetests
@sleetests 2 года назад
i havent watched the whole video but i already know its good
@SleepDeprivedGinger
@SleepDeprivedGinger 2 года назад
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
@pentaguin5s Год назад
I play Mario party every 2-3 weeks
@mondrebester1546
@mondrebester1546 Год назад
I love the Ray casting Idea did you come up with it You are a genius
@I4YB
@I4YB 2 года назад
graffipatch is so good i love hem
@RealMrLazy
@RealMrLazy 2 года назад
it took me like 2 minutes to realise you made paper Minecraft. Bro I love your work
@Multibe150
@Multibe150 2 года назад
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 2 года назад
Glad it was helpful! - Thanks for the sub
@HeyEmricYT
@HeyEmricYT 2 года назад
I just love your videos.
@nicksnews.
@nicksnews. 2 года назад
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
@griffpatch 2 года назад
Thank you so much!
@shubhayonbanik3857
@shubhayonbanik3857 2 года назад
Thank you so much. You are my best scratch teacher
@tyj90000
@tyj90000 2 года назад
This was really interesting and helpful.
@proffessor4039
@proffessor4039 2 года назад
Epic... Thank You :D
@hominh6005
@hominh6005 2 года назад
This is going to make my brain explode, Good video!
@griffpatch
@griffpatch 2 года назад
Nah, don't panic - It's not a coding video, more of a guide to beginning the process!
@Haynster
@Haynster 2 года назад
@@griffpatch if there is a coding video everyone's brain will either explode or expand that day LOL
@chiroyce
@chiroyce 2 года назад
Congrats on 300,000 followers on Scratch!!
@Twin138956Productions2019
@Twin138956Productions2019 2 года назад
:D
@griffpatch
@griffpatch 2 года назад
Thank you :D
@chiroyce
@chiroyce 2 года назад
@@griffpatch You're welcome! Are you making a special project or something to celebrate? :D
@jeditz8
@jeditz8 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
@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!!!
@VY_Canis_Majoris
@VY_Canis_Majoris 2 года назад
YAY new upload
@annihilate2479
@annihilate2479 2 года назад
👍👍 good really great explanation
@dkianz
@dkianz 2 года назад
This is so good!
@supersls
@supersls 2 года назад
hmm.. An explainatory video, nicee!
@B1er0l14m
@B1er0l14m 2 года назад
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.
@chcolate_chip3020
@chcolate_chip3020 2 года назад
Amazing!
@LitoMike
@LitoMike 2 года назад
i have never seen terraria in scratch now im gonna try it
@usefulhack
@usefulhack 2 года назад
very help full
@SparrowTutorialsFun
@SparrowTutorialsFun 2 года назад
Happy 80k subscribers🎉🎊
@griffpatch
@griffpatch 2 года назад
Thanks! 😃
@miriamsabova3353
@miriamsabova3353 2 года назад
I love u griffpatch!
@FREEZING_BLAZER
@FREEZING_BLAZER 2 года назад
this is great!
@loganyoungman6687
@loganyoungman6687 2 года назад
This is extremely helpful compared to what I used to do for generating.
@saniyakhan8597
@saniyakhan8597 4 месяца назад
thank you for teaching me
@jeditz8
@jeditz8 2 года назад
cheasure test is british accent sire treblon XD
@johnpn6747
@johnpn6747 2 года назад
He is British
@Manic_Titan
@Manic_Titan 2 года назад
Very cool game :D would love to see some bosses like the eye of cthulu!
@ameenarajudeen9641
@ameenarajudeen9641 2 года назад
cant wait for part 2
@-T0Ast200-
@-T0Ast200- 2 года назад
We need a tutorial on how to make this ourselves! I would love to make something like it!
@HollowM0th
@HollowM0th 2 года назад
The terraria stamped section really makes me want to play terraria or watch stampy’s terraria videos for some reason
@youtubezhou2373
@youtubezhou2373 2 года назад
Paper Minecraft is so fun!
@kavithyapa5825
@kavithyapa5825 2 года назад
I love you griffpatch a lot!!!!!!!!!!!!!!!!!!!!!!!!!!!!
@zsoul_yt
@zsoul_yt 2 года назад
yay griffpatch upload
@zsoul_yt
@zsoul_yt 2 года назад
ty griffpatch for liking my comment
@Haynster
@Haynster 2 года назад
YAY, new tutorial 000000:
@jeditz8
@jeditz8 2 года назад
griffpatch is the best teacher in the world
@zsoul_yt
@zsoul_yt 2 года назад
indeed
@justarandomnerd5520
@justarandomnerd5520 2 года назад
Can’t refuse that
@FlyingDino92
@FlyingDino92 2 года назад
This is awsome :O
@user-ub5lk8ui7i
@user-ub5lk8ui7i 2 года назад
I love this!
Далее
How Minecraft ACTUALLY Works 💎⛏️
46:02
Просмотров 1,4 млн
The Secret Terraria Version You Didn't Know Existed...
6:25
I Made a Game That Deletes Itself When You Lose
9:31
Просмотров 598 тыс.
I Made Minecraft 2D
11:59
Просмотров 12 млн
Your Questions Answered 🏆 Scratch 100k Unboxing!
17:05
I Made a Zero Player Game
12:30
Просмотров 10 млн
i speedrun 2d minecraft
8:37
Просмотров 3,4 млн
Top 10 Most MIND-BLOWING Scratch Projects
8:11
Просмотров 164 тыс.
Minecraft terrain generation in a nutshell
25:49
Просмотров 147 тыс.