Video nenà dostupné.
OmlouvĂĄme se.
Procedural World Generation | How does it work?
VloĆŸit
- Äas pĆidĂĄn 15. 08. 2024
- 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.ed...
đ± Terraria Stamped - scratch.mit.ed...
đ Boost Your Creativity with Griffpatch
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at đ griffpatch.aca... đ
đș Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See scratch.mit.edu
â€ïž Scratch Addons - scratchaddons....
đč Video Editing Software - techsmith.z6rj...
-------------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
Griffpatch is really just giving away ALL of his secrets these days :3
Hi chipm0nk I am your follower
well im thankful of it
Hi I know you in scratch
@@averylehner5794 ikr
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
yessss ikr, its insane
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
@@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
He's teaching you basic computer science and certain algorithms
@@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!
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??
@@CubsYT I'm curious. Link?
I use Roblox Studio to make some perlin-based terrain and it also never made sense how to do it in Scratch.
@@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
@@CubsYT oh. thats okay though
yea, finally some random generation, each lesson is adding on from the next. (Its amazing, great job giffpatch)
Griffpatch
We doing a griffpatch chain?
Allright.
Griffpatch :)
Sorry for miss naming "Griffpatch"
Great tutorial! I like the concept of learning the theory before you code it, so you understand exactly what you're doing!
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.
@@griffpatch This is Really cool even though I did vote for tile scrolling Platformer but can we do 3d generation?
@@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?
@@griffpatch yeah but that does not use images to make it look like a realistic game so it would be just colors đ€
@@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.
Amazing as always, Griffpatch! Deserves more recognition.
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
I wasn't expecting this, I was expecting a platformer tutorial but this also looks interesting!
Me too
same here
This is amazing! I suggest you do more explanation videos like this. It's really helpful!
Thank you! That's really useful feedback.
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 :)
Wow well done :D
@@griffpatch this is kinda wholesome
@Paz Villas-BĂŽas Ye
What would I do without my beloved scratch terraria đđ
Keep up the great work manâ€ïžâ€ïž
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!
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!
This video made me want a Griffpatch let's play channel with narration and stuff
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
Im a lua and arduino guy, im glad people get inspired by griffpatch
i am an intermediate c++ coder
@@moltony actually same and I now use c and x86_64 assembly and I also have an arduino
I cannot wait the next terrain generator tutorial đ
So good video !!!
me to
Not only do you make the best tutorials but you make them so fun to watch as well!
Atlast with the amazing tutorial! I was waiting for that!!
I've been wondering what to comment since an hour... Im just so speechless at your ideas, creativity and epicness!
Wow, thank you!
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
Thanks for showing us how minecraft works, keep your render distance up!
Ive been waiting for this one!!! thank griffpatch
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
Hi bro
Oh Hey ShiftClickLearn I Am Making Cat Clicker Game and scrolling platformer
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
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.
I play Mario party every 2-3 weeks
Nice tutorial, and congrats on 300,000 followers!
Congrats on 300,000 followers on Scratch!!
:D
Thank you :D
@@griffpatch You're welcome! Are you making a special project or something to celebrate? :D
@@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
@@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!!!
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
i loved your terraria remake it was sooo good
FINALLY! BEEN WAITING FOR A WHOLE WEEK!
Me To I was Waiting T - T
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!!
Mind Blown!!! đ±
also 2 million mail wow
Griffpatch you smile and laugh make me happy and proud of you
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. ;)
Glad it was helpful!
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.
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.
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
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.
Glad it was helpful! - Thanks for the sub
Wait a second,you created Paper Minecraft?
I used to play that all the time when i was a kid!That's cool :D
Yeah that's right! Like 8 years ago now
hey fellow scratcher, when he says it all my games start working
Pure LOL
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!
This video help me a lot to make my school project (but not in scratch) do thank you for a really good explanation!!
Ur the best scratch youtuber ever! I always follow ur tutorial is helped me alot! Thank you *Mr.Griffpatch*
21:00 - "Gosh, I love water!"
I dont understand why but that sounds hilarious when you think of it without context.
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.
griffpatch is the best teacher in the world
indeed
Canât refuse that
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!
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 :)
it took me like 2 minutes to realise you made paper Minecraft. Bro I love your work
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
This takes " Minecraft is 2D Terraria to another level "
Griffpatch - 'i rule'
Me - I wish I can code like and rule like griffpatch
Just watch my videos, follow along with the tutorials, and importantly, experiment yourself!!! You'll get there in no time!
So cool! I can't wait for the next video on this :3
This is going to make my brain explode, Good video!
Nah, don't panic - It's not a coding video, more of a guide to beginning the process!
@@griffpatch if there is a coding video everyone's brain will either explode or expand that day LOL
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
Yay!!!!!!!!!!! I very needed that for a long time.
-16:40 Appel by the way from now on I will list Easter eggs keep your eyes đ peeled to see these !
Got something wrong it should be âŠ.
Oh -16:40
Hmm it should be negative 16:40 but I donât know how to get negative
Easter egg got wrong is in 6:52
Fantastic! I haven't been watching your previous tutorials, I've been too busy, sorry!
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
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!
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...
Thank you so much!
cheasure test is british accent sire treblon XD
He is British
Very Impressive Griffpatch. I loved the detailed explanation of the 2d World Generation. Thanks for the video.
Glad you enjoyed it!
Every video you post I's like I don't need to watch it because I know it's gonna be be awesome
he's passing over the gift he got from the scratch gods to US!
Wow is so beautiful and fun!! Letâs do this!!
man I remember seeing your stuff WAY back when. This is nostalgic : )
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!
hmm.. An explainatory video, nicee!
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.
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
This is the treat everyone wanted after another depressing COVID-19 halloween
graffipatch is so good i love hem
Add pushable blacks into classic platformator and buttons too, thanks
Blocks*
I love the Ray casting Idea did you come up with it You are a genius
Happiness be like:
"World Generation"
No Sarcasm intended, and I am dead serious
Awesome! He got 300k followers on Scratch too.
@@Twin138956Productions2019 i know XD i am a fan and a member, btw big fan twin
Its fun to see griffpatch playing and enjoying his own games!
i wouldnât be surprised if this man made a fully functional 3D engine with Scratchđ
People have done 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
Wow, this is some really interesting stuff!
The terraria stamped section really makes me want to play terraria or watch stampyâs terraria videos for some reason
yeah This is what I've wanted for so long!! I will try to use this in a game đ
Hi griffpatch thanks for this amazing tutorial :)
you gan make EVERYTHING IN SCRATCH and i love your projects! :)
We need a tutorial on how to make this ourselves!
I would love to make something like it!
almost 80k! Let's get him to 80k, #Roadto100k and #GetDaVerificationBadge
Was waiting for this vid !!
this terraria clone is so good at some point i was thinking it was just a video
That incredible, and very realistic!!!
i have never seen terraria in scratch now im gonna try it
nice
i have been waiting for this for a long time
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
Hello! Good thing I got notificated lol...
I like your Idea of making a 2D Minecraft game that is not so Mind Consuming Well done!
YAY new upload
really like the theory video, instead of having to watch an entire coding video to learn the concept
the minecraft caves and cliffs update really made the cave generation more grand like terraria's :)
Nice !!! #What_griffpatch_is_up_to next ?
Pretty interesting. Usually when I generate caves, I just select a random point in the grid and start moving in random directions.
Well presented as usual!
I appreciate that
10:47 , nice hidden "Guy" from the scratch platformer game on the bottom left
Holy fridge I just woke up after my alarm didn't go off because of a huge explosion!!!!! But guess what, it was just the loudest damn lightning strike I ever heard out of nowhere