Me: Been working on Pac-Man Ghosts in Scratch griffpatch: _Uploads Pathfinding Tutorial_ You're amazing griffpatch!
@jedizombiekiller9065
3 жыл бұрын
I was working on the exact same thing lmao
@malik-a-creeper
3 жыл бұрын
All of that ×2
@malik-a-creeper
3 жыл бұрын
but why?
@KopflosReal
3 жыл бұрын
69 like!! Lol
@JaydenChan-v3f
3 жыл бұрын
I was also thinking about making Pac Man
@geeknrd962
3 жыл бұрын
the reason scratch cat is still smiling, is because griffpatch kept him. and fed him apples.
@accountdisbanded
3 жыл бұрын
I have a scratch cat in some of my projects. It's sleeping
@peej10do91
3 жыл бұрын
Mostly because griffpatch fed him apples.
@witherwraithmc
3 жыл бұрын
ha ha
@Francisco1234Cruz
3 жыл бұрын
ye
@user-sq3ey3jg4k
3 жыл бұрын
@@peej10do91 definitely.
@RedToilets
3 жыл бұрын
This is even better than part 9 of the tile scrolling platformer. You actually get to learn something here and how to code this for enemy AI games instead of copying code because after a few parts of a project you start to not care so much about the code and only about the final product.
@trombone28
3 жыл бұрын
In the tile scrolling platformer, if you just copy the scripts, it's your own fault. Next time, before you do, try to understand what's happening, and teach yourself how it works.
@RedToilets
3 жыл бұрын
@@trombone28 I'm saying that I try to learn something and I copy what griffpatch does. I understand what he's doing but I don't understand how the code does that sometimes. For example, part 6.
@trombone28
3 жыл бұрын
@@RedToilets I see. What you should do then is try to break apart the code into smaller pieces, and watch the video bit by bit to try and better understand how everything works together, but I get your point.
@TRexgamer699
2 жыл бұрын
HOLY MOLY IS THIS WUMPUS?!?
@tunedoesstuff
2 жыл бұрын
@@TRexgamer699 No this is patrick!
@SirDonTheThird
3 жыл бұрын
Ive moved away from scratch to use some more powerful engines but I still love coming here and learning the creative solutions you came up with to get past what I thought were the limitations of scratch. Keep up the great work!
@jamesjunk5691
3 жыл бұрын
Its so cool seeing Griffpatch go from just a really good Scratcher to an awesome tutorial KZitemr
@weepgamer
3 жыл бұрын
so excited to program this with lists and grids lol
@griffpatch
3 жыл бұрын
Do you think you can give it a go yourself, or would you be waiting for the tutorial to cover it?
@GamePlay-rt8fc
3 жыл бұрын
@@griffpatch A tutorial please! :D
@rubenvanderark4960
3 жыл бұрын
@@griffpatch it sounds complicated, but i know you can explain it well
@realBHGTV
3 жыл бұрын
I already tried it with a "controled cloning" system. That means that i have a generator and every clone has its specific number so you can add things like a x or y coordinate in a list. But pathfinding is something that i need to learn with this system.
@griffpatch
3 жыл бұрын
@@rubenvanderark4960 there are a few more scripts to put in place, but once you are comfortable using them it actually really free things up to be very cool indeed
@Firelord8447
3 жыл бұрын
Just as I was thinking of making a pathfinding bot in scratch.... griffpatch uploaded
@grandestag
3 жыл бұрын
Same
@Tealen
3 жыл бұрын
Same
@Forasken
3 жыл бұрын
Same
@Nedums
3 жыл бұрын
This is why I don’t go to other KZitem channels for scratch tutorials because they most likely don’t work or outdated. Go to the king, he can teach you.
@GoodByeStars
12 күн бұрын
I'm gonna try to be the queen of turbowarp
@dominicspinnato5998
3 жыл бұрын
Just wanted to thank Griffpatch for getting me into coding. Two years ago, I stumbled upon Scratch and signed up for it. I began watching your videos and now I have a job for coding. I start tomorrow. This will be my first job at the age of fifteen. Without Griffpatch, I don't think I would've ever picked up an interest in coding.
@rsrk.2601
3 жыл бұрын
Congo bro
@helentowers6223
3 жыл бұрын
awesome
@inspyx6818
3 жыл бұрын
I remember playing your projects roughly 6-7 years ago back when i used scratch (the golden days). Was just taken back to this by nostalgia. So glad to see youre teaching a new generation of scratchers how to block code. Godspeed
@griffpatch
3 жыл бұрын
Cheers :) - How time flies right!
@Jonny-im4dr
Ай бұрын
@@griffpatchI may be three years late but these still are pretty useful
@jooddotcom
3 жыл бұрын
Cool! I really love how your videos are nice and simple compared to other channels who dont explain anything.
@0x19
3 жыл бұрын
yes! griffpatch inspired me to get into programming
@cutepugjoardan
2 жыл бұрын
actually u r kinda true tho lol bcuz they all just put the code or whatever and dont explain lol
@GeometryMath3
2 жыл бұрын
@@cutepugjoardan and some just put text! Like what if you can't read?
@mischiefthedegenerateratto7464
2 жыл бұрын
@@GeometryMath3 How do you use scratch or code without reading?
@tvpac-magic6150
2 жыл бұрын
@@GeometryMath3 if someone can't read than i'm not sure they can code
@hadisantamaria3391
3 жыл бұрын
3D raycast with multi layering would be amazing for next tutorial, It would be hard to do for beginners,But you really know how to explain and make it look simple
@mangolover9912
Жыл бұрын
woah ur wish came true, he made a series already!
@zoranradakovic2199
Жыл бұрын
@@mangolover9912 not multi layering tho
@ItzYeetus
3 жыл бұрын
I searched for tutorials like this SO MUCH I AM SO HAPPY!
@GeekSHO
3 жыл бұрын
This is amazing! Griffpatch, please know how incredible your projects are, but also these video contributions to the community. I teach computer programming, and I often use Scratch for many of my students. These tutorials help me teach students some really cool tricks.
@spleeN_
3 жыл бұрын
I personally don't use scratch, but this tutorial is still an amazing breakdown of how to set up a good pathfinding system. This video perfectly breaks down the essentials of pathfinding and make it easy to understand. Good job!
@rubylikessonic2
Жыл бұрын
ikr, I literally came here cuz I remembered watching this when I did use scratch and I needed a path finding method for a non scratch game!
@vVearon
3 жыл бұрын
i’d say your the most calming youtuber that makes scratch tutorial
@eeeeeeeeefeeeeeeeee
3 жыл бұрын
DUDE! You have no idea how much this saved me when I was trying to design a game! TYVM!!!
@letalexalexyt4698
3 жыл бұрын
22:22 That right cat just started revolution🤣
@jacobhollick985
3 жыл бұрын
Top left as well
@thelumberjack8838
3 жыл бұрын
I don’t even use scratch anymore but I had to watch it for my childhood thanks griffpatch
@griffpatch
3 жыл бұрын
:D
@schazz3929
3 жыл бұрын
I'm pretty amazed by the way color detection is used. Also I learned that scaling down an offscreen object wouldn't make him go onscreen again. Very smart design, even though it might create a bit too much lag in a larger scale project because of the clones being used. Also, I think you could make arrows invisible by just making them ghost 100, color detection would still work.
@christophercampbell6884
3 жыл бұрын
0:23 Paper Minecraft and the pathfinder are linked because they share a filling algorithm. In the game, the light source will have a "infected" tile with a light value of 5 or something. Then that tile will infect other tiles around it and subtract 1 from the parent.
@Montogoronto
8 ай бұрын
I am trying to implement the same lighting algorithm in my game, could you please explain it a bit more detailed?
@arielleyva7571
3 жыл бұрын
Amazing piece of smart scripting! I used scratch a lot when I was younger, and although i don't do visual scripting that much, i still appreciate just how elegant and simple the programming was. Specially the "when not touching black" part, i love how that killed two birds with one stone.
@danielgamez5190
3 жыл бұрын
oh! I just came back! i was with you with 20k subscribers! You have improved!
@rsrk.2601
3 жыл бұрын
I was with him since 18k man he grew so fast
@danielgamez5190
3 жыл бұрын
@@rsrk.2601 yeah!
@gomango99
3 жыл бұрын
I just got memories of going on scratch in awe of this guy's creations!! Honestly I remember everyone in school rushing to the computor room to play paper minecraft like it was yesterday!!
@tonypatino1765
3 жыл бұрын
"Keep scratch cat"? Scratch cat didn't see that one coming
@themaydayman
3 жыл бұрын
I usually delete scratch cat then add him back in if I need him
@wateryagarvideos5186
3 жыл бұрын
@@themaydayman keep him and make him slide around in the project corner at very small size! He will appreciate that.
@KnightIA
3 жыл бұрын
Most people think he’s feeding scratch cat apples, but I personally think that he’s feeding the apple scratch cats.
@griffpatch
3 жыл бұрын
hehe!
@yellow-brain4735
3 жыл бұрын
Thank you for helping me and many others understand complicated ideas with your help full videos! It really helps me and I encourage you to keep doing so, and Scratch on!
@griffpatch
3 жыл бұрын
Happy to help!
@yellow-brain4735
3 жыл бұрын
@@griffpatch :D
@yellow-brain4735
3 жыл бұрын
@@griffpatch I really like your remake of Terraria. One thing that interests me is the map generation, and I would LOVE to see a tutorial on it!
@ItsMrGrateful
3 жыл бұрын
you say "simple programming", I say "Super complex programming that only griffpatch knew how to do until now"
@mr.v1ct0r
3 жыл бұрын
but it's actually really simple!
@Gabriel-eb7jw
3 жыл бұрын
Yep
@witherwraithmc
3 жыл бұрын
this is simple but some of griffpatch's other vids are real complicated like the tile scrolling one he's doing now
@thatduo4126
3 жыл бұрын
I like how you referred to Scratch Cat as "their", since so many people think Scratch Cat is male.
@craigdavies2598
11 ай бұрын
‘Her’
@procuber1
10 ай бұрын
“They will be pleased.” Literally a second later: We need Him…
@guestive
9 ай бұрын
0% male 0% female 100% goober
@boredyoutubeuser
8 ай бұрын
I think he's a boy personally, since his name is Scratch, and he's orange, but yeah whatever.
@Saifullah_4112
8 ай бұрын
Does it matter if we misgender a 2d cat made of pixels?
@Tealen
3 жыл бұрын
OMG! Thank you!!!!!! What a coincidence, im making a game where i need a path finding object and started yesterday and you upload this? Thanks!! 😁
@weirdernow
3 жыл бұрын
This literally warms my heart because of the nostalgia 😌
@huntabadday2663
3 жыл бұрын
I don't do much programming in scratch (Only for school when we had to), but I can still use these concepts for other languages like assembly. This video is high quality right from the start and this idea is so good that I will open up scratch just to do it.
@Denise-
3 жыл бұрын
As soon as school is over I’m going to do this is python!
@Red_Eagle
3 жыл бұрын
*hacker typing itensifies*
@hadisantamaria3391
3 жыл бұрын
OR C++ because scratch is based in the same thing
@chiroyce
3 жыл бұрын
@@hadisantamaria3391 Scratch 3.0 is based on JavaScript, not C++.
@geeknrd962
3 жыл бұрын
@@chiroyce yeah
@poendie835
3 жыл бұрын
@@chiroyce yeah
@camopixels
3 жыл бұрын
A few notes: 1. The path's up and down names are reversed, however this is visual. 2. Moving the paths will result in the pathfinders to stop pathfinding. This is hidden by deleting the pathfinders, but it can cause problems for anyone importing it into a game of theirs.
@jgcodes2020
3 жыл бұрын
I didn't expect breadth-first search to be implemented so simply in Scratch.
@griffpatch
3 жыл бұрын
IKR - I was quite pleased by how simple I got the script in the end lol
@39-varishpatil12
3 жыл бұрын
@@griffpatch at 22:20 you will notice a scratch cat at the top of the maze going somewhere else ,why is that?. is that a bug?
@milankarow6567
3 жыл бұрын
Videogame AI demystified by making it visible. This video is a brilliant learning tool!
@griffpatch
3 жыл бұрын
Thank you, yes I did try to make is as visual as possible. I think that really helps understanding.
@nguyenbichhuong1208
10 ай бұрын
rarest event@@griffpatch
@oh.........
3 жыл бұрын
The 1 dislike is from that person who messed up and tried again but the battery in their tablet used for KZitem was dead
@meghagoel4689
3 жыл бұрын
haha! 😂🤣
@EdbertWeisly
3 жыл бұрын
nah, they are the aussies that agree that Griffpatch is the true King of Scratch
@LandonEmma
3 жыл бұрын
Then how would he dislike the video?
@EdbertWeisly
3 жыл бұрын
@@LandonEmma he used a vpn
@suspense_comix3237
3 жыл бұрын
I have an idea on Scratch AI. Basically, there is an enemy and a player. When you start the game, the AI begins it's "BeforeCurrentState" where it goes to random positions and tries to hunt you down. Once you get hunted down, the AI puts keyspots called "LastCaught". Then it begins it's "CurrentState" where it goes towards that "LastCaught" keyspot. If you are there, then the AI goes there very often between runs. If you aren't there, then the AI begins it's "BeforeCurrentState" again.
@tsesaken
3 жыл бұрын
The most convenient timing for me and a friend's game Thank you, griffpatch! Best wishes!
@heddahofbauer3245
21 күн бұрын
this is farly die best scratsch tutorial I ever saw
@J0hnLen1n
3 жыл бұрын
Хоть я и не могу понимать это на слух, старания и талант видны и так) Hello from Russia!
@darkfrei2
3 жыл бұрын
Не слишком сложный английский, но кота яблоками кормить не надо.
@russianyoutube
2 жыл бұрын
@@darkfrei2 ахахах
@giuseppelucacorreale5843
3 жыл бұрын
11:30 Finally griffparch uses caps!!! Greetings from Italy you are the best :)
@cst1229
3 жыл бұрын
All normal Scratch blocks are lowercase though.
@ferdinandoph
3 жыл бұрын
Where were all these super cool tutorials when I was young and used Scratch??
@Zoufu
3 жыл бұрын
Griffpatch, you are the reason I've used to be on Scratch for my childhood. You make the best games on Scratch. Never knew you had a yt
@griffpatch
3 жыл бұрын
I do!
@idontknow8029
3 жыл бұрын
I love your lessons, and I'm a big fan of your scratch projects. :)
@OzzyVRrealone
3 жыл бұрын
Right now I'm watching your video and it's like the greatest thing ever!
@amonke5983
3 жыл бұрын
YESSSSS HE POSTED
@GamePlay-rt8fc
3 жыл бұрын
yes!!!
@rawnutcooking7580
2 жыл бұрын
"We are going to keep scratch cat, they will be pleased" BEST SENTENCE EVER SCRATCH CAT HAS HEARD...
@coolminecraftguy3231
3 жыл бұрын
You are great griffpatch! You should be in the scratch team as you have answers to anything!
@Kweable_Gaming
Жыл бұрын
Agreed
@andrewengelsma277
3 жыл бұрын
Wow can you see the future this is exactly what I need for my new shooter.
@liquidportal9082
3 жыл бұрын
Awesome video! sort of reminds me of the navmesh component found in unity!
@eliericksson.8950
3 жыл бұрын
You inspire me so much, and these tutorials are SUPER helpful even if I only watch them to understand how it works!!! Keep up the good work, these are the highlights of my Mondays! :)
@griffpatch
3 жыл бұрын
Glad you like them!
@linuxs
3 жыл бұрын
There are no variables for a Griffpatch tutorial! 🤣
@griffpatch
3 жыл бұрын
He he - I actually purposefully did that this time - However, to make this even more useful we would start to bring them in again lol
@Twinstars12
2 жыл бұрын
I learned a new way to make sprite move. Really helped in other projects. Thank you. Just like this other videos are amazing and interesting.
@EdbertWeisly
3 жыл бұрын
This is why you are the King of Scratch
@MiaTheRobloxian
10 ай бұрын
i met your channel for the first time today and it's the first time i enjoy coding
@dubsisthegoat48
3 жыл бұрын
Interview: What is your favourite tutorial you have made?
@langstonreese7077
3 жыл бұрын
@Dhiviyesh Akilathasan it was a joke, u weren’t sapost to replie bu ok...
@belkamelka07
3 жыл бұрын
Logo looks by pressing space to switch costumes!!!!
@belkamelka07
3 жыл бұрын
Love you Henry Wolfe❤️
@belkamelka07
3 жыл бұрын
Love you❤️
@dubsisthegoat48
3 жыл бұрын
@@belkamelka07 Do you know me from scratch?
@redheaddetention
2 жыл бұрын
I put this script in the Maze generating project. It worked. It's very cool.
@danielzhang7626
3 жыл бұрын
Dunno what this is but I know imma love it :D
@shadow_1363
3 жыл бұрын
Oh wow, it's much easier than I thought. Great tutorial as well!
@therealdeadend
3 жыл бұрын
he said my name so many times :0
@cats4Life
3 ай бұрын
I don’t get it. What is your name?
@garabatosdc5610
3 жыл бұрын
I am in a tournament in scratch and I am so glad I found this chanel (your game paper minecraft is so cool)
@FeniteFr
3 жыл бұрын
0:01 Do I pause the video every time that I watch one to see my username? Yes 😂
@SmileyZGuy
3 жыл бұрын
Dude that is cool
@zulianfr
3 жыл бұрын
wow I didn't know this draggable block exist you're changing my life
@thescratchsavy1587
3 жыл бұрын
I hope that sometime, I'll also get so many subs with scratch only
@Reycko
2 жыл бұрын
I'm reaching the 300 clone limit before it can find scratch cat at 6:36 edit: i fixed it, the problem was it was overlapping clones in top of each over quickly going to the clone limit
@UnderFlow_official
3 жыл бұрын
I can't say u are genius again, bc I already said it, but yeah I been developing with scratch for 6 years now, and I can never think about things that you've been easily doing those.
@witherwraithmc
3 жыл бұрын
this is great. I have been trying to create a pac man game with ghosts for a while now but i have not figured out how until I saw this. It really helps
@RubyPiec
3 жыл бұрын
I love the way you said smooth at 15:35
@breakfastboii
3 жыл бұрын
I was actually recommended this video for no reason and then a couple days later I needed to make a project in scratch for school. It's a really neat system though, if only there was a way for the game to not render the paths and keep it on a separate non-rendered layer or something like that.
@griffpatch
3 жыл бұрын
I am working on those videos right now! :)
@clasherz_gut328
3 жыл бұрын
Yesss!!! Thanks so much griffpatch :D we've all been waiting for this!
@nimfbdhdkdm
3 жыл бұрын
I love how you explain your thinking
@MuhammadTheOld
3 жыл бұрын
this is so underrated, this deserves more than a million views.
@MuhammadTheOld
3 жыл бұрын
@Davyn dosent matter anyways people at the past used scratch and there was like 13m people using it
@MuhammadTheOld
3 жыл бұрын
im not sure of current now
@wateryagarvideos5186
3 жыл бұрын
@@MuhammadTheOld right now 60 million half of as much use Facebook lol
@MuhammadTheOld
3 жыл бұрын
@@wateryagarvideos5186 you can still check the most visits in scratch, im not sure of the current.
@wateryagarvideos5186
3 жыл бұрын
@@MuhammadTheOld ik
@hazard6896
3 жыл бұрын
My first thought is to have all the clones stamp, no then delete themselves after they’ve fulfilled they’re goal. This would allow for much larger mazes, while still keeping the cool path-finding look :)
@kategacha11
2 жыл бұрын
That was...AWESOME!
@xoxogamewolf7585
2 жыл бұрын
They are linked because the lights grows further and only stops when it hits a wall. That is just like this project!
@bradyd2799
3 жыл бұрын
ball physics + this = super fun video game! Thank you griffpatch!
@dylanlamprecht3406
3 ай бұрын
Tysm for the smooth turning code!!!!!!!
@kevinsheng5467
2 жыл бұрын
WOW! I can't believe it this is how easy to hide sprites that need to be used in color detection!
@TOAKSuriFox
3 жыл бұрын
You are the main channel to go to when you want to learn scratch.
@cool-ergamer9307
3 жыл бұрын
Paper minecraft uses this through gravity and liquid and also light. Aka when water/light flows through a pathway you need to know the end point and the full pathway of water. This way you are basically creating a beginning point and a end point with some obstacles/blockades that is related to a maze and/or is a maze. My answer ^
@therealohead
3 жыл бұрын
Holy crap, I haven't been on Scratch in a million years! I had no idea griffpatch had a KZitem channel, I just saw his stuff on Scratch
@hollowknightenjoyer
3 жыл бұрын
6:20 now we maked that code that will be fill *later* omg very cool!!!!!!!!! so nice!!!!!! thank you griffpatch!!!!
@connorallgood0922
Жыл бұрын
My guess for the tiles being used for light flow in paper Minecraft is seeing how many tiles away from a light source something is, the more tiles away it is, the darker it will be.
@Purple_Gu7
Жыл бұрын
Im making a fnaf arcade game, where you play as purple guy on a 2d screen while freddy, bonnie, chica and foxy are chasing you, this was REALLY usefull
@chiroyce
3 жыл бұрын
Oh dear, this is actually what I wanted! and congrats on 1.1k likes on this video!! 😀
@hedgehogs_r_beast3248
3 жыл бұрын
Whoa! I didn’t know you had a KZitem! I just follow you on Scratch, that’s so cool you popped up on my recommended! You’ve inspired me for years to create games, and I think your games are the coolest!
@tronche2cake
3 жыл бұрын
The light in paper MC finds its way to each block and has a different light level depending on how many blocks it travelled.
@areadenial2343
3 жыл бұрын
Ayy griffpatch you're still around? Back when I was using Scratch you were a legend, can't believe one of your vids randomly showed up in my recommended. Keep up the great work!
@TR3CTY
3 жыл бұрын
Griffpatch is a good guy he is the one who kept scratchers scratching. He is a legend
@beautimarkprohairmakeup2676
3 жыл бұрын
Griffpatch. An popular scratcher. Then comes griffpatch tutor. What's next? A griffpatch tests?
@captainm3
3 жыл бұрын
I'm going to adapt this Pathfinding system in to my platformer and make it in a list. Thank you.
@minart_animates6567
3 жыл бұрын
Oh. My. God!! Thanks so much. I’m making an interactive ant colony and I really needed this script for the ants. This is so helpful!
@mismis3153
3 жыл бұрын
I like how you can easily understand those and implement them in other languages
@plaiderplayz9866
2 жыл бұрын
20:29 that reminded me of the tile scrolling earlier version and background scrolling tutorials
@booferguy
Жыл бұрын
“Last one to eat the apple is a rotten egg!” -Griffpatch
@Zucore_Creates
3 жыл бұрын
scratch cat says"tanks for da apples, scratch love them." its so wholesome that you are feeding the scratch cats apples
@emilyy03
3 жыл бұрын
this is actually really cool. i was thinking the easiest pathfinding method would be complicated to code but you cracked it, and it works really well. you never fail to amaze me griffpatch :)
@advitiya259
2 жыл бұрын
I think because the arrows are 'finding' there way through, and cant pass through the wall and as the light of the torch cant pass through opaque object, these become walls. Hence, the 'pathfinding' is the thing common to torch light and the sprites which have arrows here. (Got this answer when I had watched till 6:03)
@aparrot4254
3 жыл бұрын
Awesome video! Did not expect this type of video since i consider pathfinding being advanced. I like how simple and short the solution was, but i would not have found it myself. This was some sort of reverse flood fill?
@griffpatch
3 жыл бұрын
Yeah, you are practically doing a flood fill, but keeping track of the direction from the source, a depth first search.
Пікірлер: 1,5 М.