Collectables & Enemies that Chase | E5. Crazy Fun Raycasting

  Рет қаралды 410,444

griffpatch

griffpatch

Күн бұрын

How to add irresistible collectables & Enemies that chase after the player.
This Scratch tutorial on coding a 3D raycaster game is getting so much fun!
We cover enemy wall collisions, and also stop them from walking on top of each other. We add a star collection counter and prepare the ground for a game over screen... Perhaps you guys can take it from here?
👀 Part 6 - • ULTRA FAST Raycasting ...
🔥 Bug Fixes - • Quick Fixes for Raycas...
Don't forget to submit your projects to the studio linked below by commenting the project URL in the studio comments.
My tutorials are for all budding game & software developers using Code Blocks. Scratch On guys!
🚀 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 Studio for this tutorial - scratch.mit.edu/studios/31089...
💯 Awesome Number Counters - • Awesome Number Counter...
👀 Part 1 - • Crazy Simple Raycastin...
👀 Full Episode Playlist - • Crazy Fun Raycasting (...
👀 Quick and Fun Tutorials - • Quick and Fun Scratch ...
❤️ Scratch Addons - scratchaddons.com/
📹 Video Editing Software - techsmith.pxf.io/c/2682566/50...
-------------Video Chapters-------------
0:00 Intro
0:48 Shadow Under Nano
1:39 Pen Length Bug
3:17 Wall Height
4:32 New Entity Types
7:11 Full Screen Map View
9:35 Entity Sizes and Colours
11:38 Enemy Movement, Chasing the Player
13:08 Enemy to wall collisions
14:46 Personally Boundaries
16:05 Sticky Entities
17:29 Player Health
19:32 Collectables
23:13 Collectables Counter
24:27 Outro

Пікірлер: 1 600
@griffpatch
@griffpatch 2 жыл бұрын
🔥BUG FIX 🔥 OH MAN - Really sorry, I still messed up the entity costumes. We need to add a switch costume to 'type' in the pen sprite under the "stamp x y" script! - I've added a few other fixes to the same script in a photo under the community tab: kzfaq.info/love/awsI_mlmPA7Cfld-qZhBQAcommunity?lb=Ugkx4DaJzF6Wakuhh_JWIsNMTLlePVAlTEjH - I'll make a video update soon enough, but until then you can use this. So sorry! Scratch on guys!
@Oatea
@Oatea 2 жыл бұрын
pin this comment so people see it
@gargeehirlekar2050
@gargeehirlekar2050 2 жыл бұрын
Thanks
@althaftaqiudin9634
@althaftaqiudin9634 2 жыл бұрын
Cant wait
@griffpatch
@griffpatch 2 жыл бұрын
@@Oatea Arrghh!! I thought it WAS pinned lol
@johnpn6747
@johnpn6747 2 жыл бұрын
@@griffpatch lol
@xamtastic
@xamtastic 2 жыл бұрын
This is beyond my Scratch ability, but I might even try to do this from episode 1! Thank you for helping the community so much, griffpatch.
@griffpatch
@griffpatch 2 жыл бұрын
You can do it! :D - And it's my pleasure
@trackstxar
@trackstxar 2 жыл бұрын
Get this to 69 likes
@DorukoOFFICIAL
@DorukoOFFICIAL 2 жыл бұрын
@@trackstxar haha the funny number
@trackstxar
@trackstxar 2 жыл бұрын
@@DorukoOFFICIAL xD
@damastaofdatscratch8664
@damastaofdatscratch8664 2 жыл бұрын
@@trackstxar k
@hypatch8014
@hypatch8014 2 жыл бұрын
I'm not sure if it's the titles or the fact you're showing how to do 3D in Scratch that made this series blow up, but you seem to be doing something right!
@vatt1052
@vatt1052 2 жыл бұрын
I've watched every single episode of this series without doing anything. For some reason i just find it entertaining. Maybe it's the editing or it's just your shining personality.
@Red_impostorYT
@Red_impostorYT 2 жыл бұрын
it's the editing
@kryptyk64
@kryptyk64 Жыл бұрын
@@Red_impostorYT Both
@neo_gaming8639
@neo_gaming8639 Жыл бұрын
Yea both
@funut2541
@funut2541 2 жыл бұрын
Fantastic. That depth sorting an entity placement seems like it was a cliff but wow it opens so many possibilities. If I could give a recommendation maybe levels! Specifically for those of us with claustrophobia! If you have any interest in computer science at all this channel is a gold mine!
@griffpatch
@griffpatch 2 жыл бұрын
Yes, thank goodness we got over that... I'm afraid a lot of people may have got stuck on it though :/
@donkkonk5293
@donkkonk5293 2 жыл бұрын
Wait It's You!
@susrectangle
@susrectangle 2 жыл бұрын
What :0 Why did u delete ur vids
@schnagli
@schnagli 2 жыл бұрын
I miss your videos
@dasheiligedonerhuhn
@dasheiligedonerhuhn 2 жыл бұрын
please make your 3d engine videos public again, I'm just missing the clipping part
@senn6743
@senn6743 2 жыл бұрын
I love when griffpatch uploads its just a good feeling
@patnasujeet
@patnasujeet 2 жыл бұрын
Agreed
@monicadua7
@monicadua7 2 жыл бұрын
Fully Agreed
@FeniteFr
@FeniteFr 2 жыл бұрын
OMG this is an awesome episode !! I'm sure this serie will help me a lot to create my scratch projets, but overall to do things that I never think it was possible to do with scratch ! THANK YOU Griffpatch for all your amazing tutorials ! ❤️🔥😸 🍋
@griffpatch
@griffpatch 2 жыл бұрын
My pleasure - I bet your project will be amazing!
@nathanaelchia7167
@nathanaelchia7167 2 жыл бұрын
I'm thankful for Griffpatch!
@AMAQAS_Editz
@AMAQAS_Editz 6 ай бұрын
@@griffpatch I really love your videos and games and it would mean a lot to me if you help fix my issue.for some reason my sprite has been rotated and i dont know how to fix it.
@brandtyee6257
@brandtyee6257 2 жыл бұрын
One step closer to recreating doom in scratch
@thebiggamer5850
@thebiggamer5850 Жыл бұрын
bro i am recreating doom as scratch school project!
@Misterthe13
@Misterthe13 Жыл бұрын
already on it mate!
@chickenseason1285
@chickenseason1285 Жыл бұрын
I was doing wolfenstein
@Ben-iz-de-best
@Ben-iz-de-best Жыл бұрын
If it has a screen, it can run doom
@Chaobai
@Chaobai Жыл бұрын
One step closer to recreating the backrooms
@Eli-7528
@Eli-7528 2 жыл бұрын
Wow this is amazing!! This is a series of yours that went from a short one to a official one!!
@crazy_stories96
@crazy_stories96 2 жыл бұрын
You could also make, that the Monsters make every few seconds a sound and then put in the Entity Sprite a (set sound to (100-distance to player /1.5)) Then when the Entity Sprite is far away the sound is quiet but if he is in front of you the sound gets louder
@leroyloanjoe8777
@leroyloanjoe8777 2 жыл бұрын
Also animate it
@EHMM
@EHMM 2 жыл бұрын
aaaaaaaaaAAAAAAAAAAAAAAAAAAAAAA*AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA*
@SSukram_
@SSukram_ 2 жыл бұрын
Yeah but wouldn't it make all the sounds quieter/louder?
@paxarite
@paxarite 2 жыл бұрын
how about echo
@squidystutorials835
@squidystutorials835 2 жыл бұрын
dude i add a scary sound effect now I'm in the corner of my maze
@danielszap6794
@danielszap6794 2 жыл бұрын
This is so fun. I can’t wait for more 3D tutorials. I can’t wait to add jumping, and texture, and so much more! Thx so much griffpatch. I’m sure to take all of this, and make a super cool game out of it. Just you wait.
@MrPuzzleCodes
@MrPuzzleCodes 2 жыл бұрын
Oh god texture mapping would be soo cool! Out of the whole raycasting project this is what i wouldnt know AT ALL if i dont watch the tutorial. Keep it up 👍
@crackerpooppop
@crackerpooppop 2 жыл бұрын
Every Saturday at around 7:00 (for me) i sit down refreshing griffpatches page so i can see his videos early. I really love your vids!
@1080GBA
@1080GBA 2 жыл бұрын
Every Sunday at around 17:00 (for me) i sit down refreshing griffpatch's page so i can see his videos early. I really love your vids!
@memetech-
@memetech- 2 жыл бұрын
And I have notifications on
@1080GBA
@1080GBA 2 жыл бұрын
@@memetech- me2
@Fateh_the_genius
@Fateh_the_genius 2 жыл бұрын
@@1080GBA me2
@qwertyuiop.lkjhgfdsa
@qwertyuiop.lkjhgfdsa 2 жыл бұрын
@@Fateh_the_genius mewtwo
@pe_games
@pe_games 2 жыл бұрын
Two ideas: 1. I'll add a "if DISTANCE to PLAYER" < 50 -----> move ENTITY The vision of the enemies is kind of unfair 2. Franks will move faster and deal more damage
@1080GBA
@1080GBA 2 жыл бұрын
The can see the map lol
@Its_PacFan
@Its_PacFan 2 жыл бұрын
This is honestly amazing! Hope to see more of this project in the future!
@EvanWiederandersJazz
@EvanWiederandersJazz 2 жыл бұрын
Great tutorial griffpatch! I have been doing raycasting and similar methods for quite some time now, and I can say you are doing a great job explaining raycasters! Raycasting is extremely tricky at first, leaving many abandoning the subject. However, you make it seem much more simple! What I love most about your tutorials is that they are great for any skill level. There’s always something one can learn from your tutorials, wether they are just starting scratch or have been on for a while. Scratch on!
@griffpatch
@griffpatch 2 жыл бұрын
Yay - Thanks for that :D
@frankstercodestuff
@frankstercodestuff 2 жыл бұрын
Hello griffpatch! I would like to thank you for doing these scratch tutorials! You helped me a lot and my coding is getting much better! Thank you for everything!
@griffpatch
@griffpatch 2 жыл бұрын
My pleasure - and that's great to hear!
@BLACKEDSNEPER
@BLACKEDSNEPER 2 жыл бұрын
I still love following this and seeing other people projects and it gives me ideas for my 3d game before scratch maze game were not like this thanks to you I can add Enemies you are a life saver
@abdurrazzaque8435
@abdurrazzaque8435 2 жыл бұрын
yes
@boryswal2137
@boryswal2137 2 жыл бұрын
oh my god, i still didn't watch the part four and you already posted another one! amazing griffpatch, thanks for tha great content!
@griffpatch
@griffpatch 2 жыл бұрын
Glad you like them!
@JazzTheLass
@JazzTheLass 2 жыл бұрын
About the health, you could make each enemy give out a set amount of damage in one hit (e.g. Franks do more damage than Nanos) by using invincibility frames instead of doing a small amount of damage but really fast.
@karthkalbi1105
@karthkalbi1105 2 жыл бұрын
im using this tutorial to make a 3d bullet hell and i made the enemies deal a random amount of damage between 10 and 20 for each hit and for stuff that needs to be more damaging it is between 20 to 30
@leroyloanjoe8777
@leroyloanjoe8777 2 жыл бұрын
@@karthkalbi1105 is it more an rpg like undertale Or a horror game like jason
@karthkalbi1105
@karthkalbi1105 2 жыл бұрын
@@leroyloanjoe8777 undertale but in 3d
@Ham7000
@Ham7000 2 жыл бұрын
I made that by going to the when I start as a clone in the entities sprite and added "if type = 2 (franks)" then add a "if touching player" "set health by -(how ever much)" (if you want to) wait 1 second. Then delete the if touching entities script from the player sprite.
@Maanga_juice_sid
@Maanga_juice_sid 2 жыл бұрын
You are the best Scratcher ever. Your videos really help me in making amazing projects. I have never seen such a good totorial on Scratch ever. So keep going.😊
@griffpatch
@griffpatch 2 жыл бұрын
Wow, thank you!
@Maanga_juice_sid
@Maanga_juice_sid 2 жыл бұрын
@@griffpatch 😍
@timeodelaplace2275
@timeodelaplace2275 2 жыл бұрын
Wow. A 5th episode. I remember you said (I think I'll only do 2 episodes of this series (Raycasting). And you're on the 5th, well done! You have a lot of talent for making scratchers like something new. Congratulations again !
@nishithakur2671
@nishithakur2671 2 жыл бұрын
Fantastic work! Love your videos,keep it up, thanks for answering all our scratchy questions!
@prililacreatore130
@prililacreatore130 2 жыл бұрын
Good job GraffPatch. Now you just need to add the textures to the walls or even make a cloud multiplayer raycaster.
@snufkin8940
@snufkin8940 2 жыл бұрын
Ooh, imagine an online fps game in scratch, that could be amazing, and i can't imagine it'd be too tricky to program
@prililacreatore130
@prililacreatore130 2 жыл бұрын
@@snufkin8940 I already made a cloud multiplayer raycaster. I can modify it to make an fps game.
@preloadingwastaking
@preloadingwastaking 2 жыл бұрын
That's not a thing for this raycaster probably. You can do it yourself tho
@prililacreatore130
@prililacreatore130 2 жыл бұрын
@@preloadingwastaking I already do horizontal line textures. My challenge is to make a full texture.
@Twingamerdudes
@Twingamerdudes 2 жыл бұрын
I did this a bit earlier. But I'm going to see if I can get the enemies to be better for my AI tech demo. For collectibles, they're pretty good. Also, thanks for Sunday!!! I was practically waiting for this to come out XD. 6:42 When this happened, I went, ah crap. I then spent 2 hours trying to fix that bug. My way of fixing it was also very stupid and inefficient. It involved making a new var called type-entity. Making the type var very useless.
@baconboy1800
@baconboy1800 6 ай бұрын
How Do You Fix It Correctly, I've Been Watching This Part And I Can't Figure It Out.
@Rendy87688
@Rendy87688 Ай бұрын
@@baconboy1800 same i cant fix it too have u figured it out?
@cutensouthern2482
@cutensouthern2482 2 жыл бұрын
I haven't been following this series however after seeing this I am filled with ideas, Thank you.
@lumaali7928
@lumaali7928 2 жыл бұрын
Yooo griffpatch ty for the tutorial i have been looking forward to these epic features!
@Resseguie
@Resseguie 2 жыл бұрын
This is great. I'm loving this series and wouldn't at all mind a few more episodes! Others have mentioned levels... What about literal levels with a ramp to move up? (Oh, but would Nano and Frank follow you up? 🤔)
@IkinBBfromAnthologyOfTheKiller
@IkinBBfromAnthologyOfTheKiller 2 жыл бұрын
I'm also loving it!and i don't know how slopes could work in this,i think we wluld have to get very creative to make something similar.
@FireyDeath4
@FireyDeath4 2 жыл бұрын
Height well golly gee go look back at the tile-based platformer and do the whole thing in 3D or try to express a whole structure by making lists of modelling data
@preloadingwastaking
@preloadingwastaking 2 жыл бұрын
You could only do an elevator, ramps need real 3d
@hegfith
@hegfith 2 жыл бұрын
Maybe possible, however would probably be hard due to the fact that our movement is based off of a 2D plane.
@FireyDeath4
@FireyDeath4 2 жыл бұрын
TFW dpruE
@KodeurKubik
@KodeurKubik 2 жыл бұрын
I think it could be wonderful if you can add jumping into the game! Super video I love this series!
@Hyprst
@Hyprst 2 жыл бұрын
the way that the raycasting works, means you cant jump or look up and down
@KodeurKubik
@KodeurKubik 2 жыл бұрын
@@Hyprst yes I know but it can be a new goal to code in this game
@Kiwi_guy
@Kiwi_guy 10 ай бұрын
@@Hyprst Griffpatch be like: your underestimating me? (creates looking up and down)
@svien777
@svien777 7 ай бұрын
it just existed! check out episode 10!
@svien777
@svien777 7 ай бұрын
lol@@Kiwi_guy
@sodbilguun6147
@sodbilguun6147 2 жыл бұрын
Hi griffpatch! I have been following this tutorial since day one and then i thought i suggest you something after watching this. There could be something of a map where you click on a map and it will show you the map, but this is a really handy tutorial! Thanks!
@youtubezhou2373
@youtubezhou2373 2 жыл бұрын
Thank you, Griffey patch for this video! You’re video always amazes me!
@laddu54
@laddu54 2 жыл бұрын
Hi Griffpatch. I have a big request. Please continue this series because we have learnt alot and I mean alot new things in scratch. In episode we mainly focused on collisions which helped me to built a very good platformer game in scratch. Well, in episode 2 we learnt how to make rays an raycasting those. Actually I made a 3d maze and it sucked alot and people hated it!!! But I had remodeled it and it is pretty good. When I thought it was the end of the series you uploaded episode 3, in which we learnt how to make and bring a 2d sprite into the 3D world by drawing it. In episode we learnt to raycast through lists. We learnt alot of new things in episode 5 as well. That's why I have a big request that you should continue this series so that can learn more new things. Thank you
@liruoshi8672
@liruoshi8672 2 жыл бұрын
Here's a list of what I would like to see in future raycasting videos: -Y-axis modifications(slopes, stairs,jumping) -Textures on the walls -diffrent levels -diffrent level sizes -spawning/despawning -angeled enemy costumes Cheers :-D
@Aarav474
@Aarav474 Жыл бұрын
And animations for the character.
@bankio6957
@bankio6957 2 жыл бұрын
griffpatch i love your videos! :D you make my day whenever i need some happiness!
@TommyBKWL
@TommyBKWL 2 жыл бұрын
3:20 Thank you for showing how to change the wall height like I suggested in the previous video :D
@yesimhairy
@yesimhairy 2 жыл бұрын
Yoo ep 5, I've been waiting for this one. It was all coming up to this, could you possibly make a it so your y position in the world can change, so you can jump over obstacles?
@1080GBA
@1080GBA 2 жыл бұрын
I made the variable already
@alexandergottman8971
@alexandergottman8971 2 жыл бұрын
These tutorials are awesome! The way you're getting Scratch programming to the next level amazes me so much! What if You've made those Entites see you? I mean implement the algorythm You were using for raycasting (in a simplified way - you'll need only 1 ray since they're already looking towards you), but to make them move to you only when they see you? For the rest of the time they should move to the place they've seen you for the last time and start lurking randomly. It would become the next "Thief" game ;) PS may I use your tutorals for educational purpouses? I mean - show them to the children at school?
@villewedenberg2793
@villewedenberg2793 2 жыл бұрын
I first did not get the enemy costumes changing, but I find I way to fix it. Great video, I cannot wait for episode 6.
@Stellar-Insight
@Stellar-Insight Жыл бұрын
Hey, how do you fix it please I’m having the same issue
@villeolof2000
@villeolof2000 Жыл бұрын
@@Stellar-Insight Griffpatch made a bug fixing video in this RPG series, there he also fixes the bug! :)
@pnppnp1989
@pnppnp1989 Ай бұрын
please tell how did you fix that
@Melting_Skull
@Melting_Skull 2 жыл бұрын
this was such an awsome and fantastic episode!
@jeffandfara
@jeffandfara 2 жыл бұрын
Every time I make something, I say, "Thanks to griffpatch." I could never have gotten this far without your videos. Thanks.
@WaterhouseFishing
@WaterhouseFishing 2 жыл бұрын
I'm loving this series!
@samscommandcodes7199
@samscommandcodes7199 2 жыл бұрын
I think doing textures are jumping into the deep-end a bit, so i think implementing jumping would be good (so that we can actually 'jump' into the deep-end)
@vaguedestruction
@vaguedestruction Жыл бұрын
I used the health bar from your new tutorial in this! You're so good at scratch
@balkangames2302
@balkangames2302 2 жыл бұрын
hellow griffpach i am an old scratcher and i really like your tutorials sadly i retired from scratch now i work with gdevelop for games and c++ (for school) when i was 12 there werent many tutorials like yours the only youtuber like you was Scratch tutorials. Hope the best for you
@SillyArcade
@SillyArcade 2 жыл бұрын
Crazy thing: I was hoping there would be pathfinding in this episode, where the entities would be able to pursue the player around walls, because I thought it would make it ten times scarier knowing that the enemies aren't just dumbly trying to catch up with you, they're on a collision course.
@MogusaMogusa
@MogusaMogusa 2 жыл бұрын
He has plenty of other tutorials on ai pathfinding that could easily be applied here
@mr.killsalot4541
@mr.killsalot4541 Жыл бұрын
what i did is make the enemy remember where it last saw you and then make the enemy walk there
@SillyArcade
@SillyArcade Жыл бұрын
@@mr.killsalot4541 that's actually not a bad solution. I might come back to this.
@theoriginaldrdust
@theoriginaldrdust 2 жыл бұрын
Also, I have found something spooky! In one of the corners of the map a strange entity changing to each costume while flickering appears. I have an idea of what made this happen but I just wanted to point it out.
@Resseguie
@Resseguie 2 жыл бұрын
Is it the original sprite not being hidden?
@thomasjerry9628
@thomasjerry9628 2 жыл бұрын
Good - As good as could be expected for Scratch
@shijisadikh7524
@shijisadikh7524 Жыл бұрын
THANK YOU SO MUCH FOR THE BUG FIX GRIFFPATCH I KEPT REDOING EPISODE 4 THINKING I DID SOMETHING WRONG. Now I can actually make a 3D GAME!
@griffpatch
@griffpatch Жыл бұрын
No probs...!
@eagleeye808
@eagleeye808 2 жыл бұрын
Hello! I find my map too detailed with too many walls to move around comfortably in, so I amplified the level by going to the raycaster sprite and going to the (type - x - distance) custom block, and changed the (distance) to (distance * 2). This amplifies the room, making it look like it is bigger than it seems. However, sometimes my entity will glitch through the wall again when I do this. Is there a fix for this?
@griffpatch
@griffpatch 2 жыл бұрын
Ah, you will need to do the same calculation in a few different places I think - It'll need some thought
@eagleeye808
@eagleeye808 2 жыл бұрын
@@griffpatch I did a lot of tinkering, and here is what I think works. 1. Instead of multiplying the distance in the type - x - distance custom block in the raycaster, multiply it by two when doing the set distance to (distance * (cos of (direction - camera direct))) block. 2. When sorting the entity in the if(item(DRAW IDX >/< distance)), multiply the variable distance and distance only by 0.5. if(item(DRAW IDX >/< (distance * 0.5))) Tell me if it still doesn't work and I will try to find out what else I changed. It has deviated far from the original shown in the video and is hard to compare too.
@eagleeye808
@eagleeye808 2 жыл бұрын
Also, in the (when I recieve object tick) you change (set vx to (x pos - player x pos)) to (set vx to ((xpos * 2) - (player xpos * 2)))
@andy010
@andy010 2 жыл бұрын
I think it will be difficult, but do you think, we can make a system, that connects the ends of each line from the walls to it's neighbours, so it doesn't appear round at the ends? Love your vids!!!
@EvanWiederandersJazz
@EvanWiederandersJazz 2 жыл бұрын
Yes, it is definitely possible, but certain parts would look kind of weird
@Maulbox_yt
@Maulbox_yt 2 жыл бұрын
Thanks for this amazing series!
@ajvof2779
@ajvof2779 2 жыл бұрын
Your tutorial is great. I am looking forward for your next one.
@axlvc509
@axlvc509 2 жыл бұрын
Would it be possible to have enemies only chase you when they have a direct line of sight to the player?
@whwhwhhwhhhwhdldkjdsnsjsks6544
@whwhwhhwhhhwhdldkjdsnsjsks6544 2 жыл бұрын
Yes, easily. You just draw a line between them and the player in the 2D representation and see if it intersects a wall.
@thecheetobros5155
@thecheetobros5155 2 жыл бұрын
@@whwhwhhwhhhwhdldkjdsnsjsks6544 they could have a little raycaster
@TuxikCE
@TuxikCE 2 жыл бұрын
Griff, The Scratch engine is made to render 2D "costumes". It isn't efficient with 3d pen rendering. Is there any possible way you can get costumes instead of pen rendering? I know it is almost impossible because in a 3d game, the environment is dynamically being changed all the time and you can't dynamically change a pre-rendered costume.
@M5J72XrtvEa24XteAIdNGA
@M5J72XrtvEa24XteAIdNGA 2 жыл бұрын
Just make the enemy's costume top down, and tell the renderer to render it aswell, that's what I did
@griffpatch
@griffpatch 2 жыл бұрын
Sorry - This just has to be done using pen.
@MayankKumar-gn1zx
@MayankKumar-gn1zx 2 жыл бұрын
@@griffpatch actually no. I have seen a few people (including myself * insert grin *) use fish eye effect to replicate 3D...
@memetech-
@memetech- 2 жыл бұрын
@@MayankKumar-gn1zx 🐟=3D? Or is it 🐠 that = 3D Please explain…
@melonsdimensions478
@melonsdimensions478 2 жыл бұрын
@@MayankKumar-gn1zx I think he means that his 3D game has to be done that way even though it can be done in other games.
@justphilippineballwithgoggles
@justphilippineballwithgoggles 2 жыл бұрын
This is awesome!👌😁💕
@grkhetan
@grkhetan 2 жыл бұрын
Awesome content as usual! Being a programmer myself (non-game), I had been able to figure out several of the techniques in the 2d games on my own, but everything in this 3d series has been a learning for me! Thanks for making a complicated subject like 3d games accessible to a large audience! Your impact on teaching kids programming across the world is so immense that you and most people perhaps don't even realize ... most of the other online tutorials have mistakes or are teaching very basic stuff, while you are teaching sophisticated, almost-pro-level techniques in an easy to learn way ... You are not only teaching the kids, you are teaching the teachers themselves and hence having a huge multiplier effect. You are perhaps creating a whole generation of kids who are much more adept at coding that anyone before them were! Thanks for all the amazing work that you are doing, griffpatch! Are you planning to start Patreon as well in addition to Google subscriptions?
@griffpatch
@griffpatch 2 жыл бұрын
Wow, thanks so much :) and I do have a patreon account, but I don't really have the resources to make it very appealing to prospective patreons. But it's there and does work lol. If you have any suggestions then I would love to hear them :)
@AjWalker267
@AjWalker267 Жыл бұрын
@@griffpatch hey I know I'm late but I can't figure out why the Frank's stars and Nanos are all just printing as stars
@griffpatch
@griffpatch Жыл бұрын
@@AjWalker267 See the pinned comment!!! :)
@julianbaert
@julianbaert 2 жыл бұрын
You should add an range and only enemies inside that range can see you
@1080GBA
@1080GBA 2 жыл бұрын
You can use the 'distance to' block to do it
@bananamanog5596
@bananamanog5596 2 жыл бұрын
It would help performance as well if Entities would not be rendered if completely behind a wall or too far away as well. :D I'm working on my own project that has a relative same idea as this series but mine is a bit different and more complicated lol.
@_meltedbutter_headadmin2122
@_meltedbutter_headadmin2122 2 жыл бұрын
Omg I love your games I play them all the time!!
@spookywooky3109
@spookywooky3109 2 жыл бұрын
This series is amazing! Great job! I was wondering how you could make isometric games. I also read about non-euclidean geometry and it would be quite mind-bending to put it in a game! Your lemon grab game has that.
@ArchiPlays
@ArchiPlays 2 жыл бұрын
*Lets Take A Moment How Much Effort He Puts Into His Content For Us ❤*
@Nerdvpnpro
@Nerdvpnpro 2 жыл бұрын
Wow just started making this, on part 3 right now thanks for all the effort
@DuckieAM_viewing_chanel
@DuckieAM_viewing_chanel 8 ай бұрын
The thing i love about griffpatch is that he makes hidden griffpatch emojis and that happends on every video!
@conorlynch8876
@conorlynch8876 2 жыл бұрын
You are amazing. Thank you for this
@Jag.Heter.Wienerbrods
@Jag.Heter.Wienerbrods Жыл бұрын
Grifffpatch, if you see this, i love your videos because it have make me my dream horror game come to real: Lost in rooms! Im really glad about it!
@granitium
@granitium 2 жыл бұрын
Thanks for making great tutorials!
@funraven659
@funraven659 2 жыл бұрын
IS IT JUST ME OR ARE THESE VIDS GETTING BETTER AND BETTER?
@Fateh_the_genius
@Fateh_the_genius 2 жыл бұрын
It is and i LOOOVE IIIT
@funraven659
@funraven659 2 жыл бұрын
IKR
@mrebic5750
@mrebic5750 2 жыл бұрын
AMAZING💖💖💖💖💖🥰 Best scratcher ever! Thank you!!
@redberry27gaming43
@redberry27gaming43 3 ай бұрын
thx for the tutorial and I also used pathfinding for the enemies
@sokpuppet65
@sokpuppet65 2 жыл бұрын
Thanks to you I finnaly made my first 3d scratch game!
@Lilac_Kunzite
@Lilac_Kunzite 2 жыл бұрын
Thanks for adding the enemies chasing you part!
@sbtree-bit
@sbtree-bit 2 жыл бұрын
texture mapping, definitely. Maybe adding in viewing different costumes from each end? BTW Love the tutorials!
@gixtuh
@gixtuh Жыл бұрын
i love your tutorials
@kid_studiesGamer-and-tutorials
@kid_studiesGamer-and-tutorials 2 жыл бұрын
Thank you so much for the tutorial. you are the best griffpatch.
@lefrog4893
@lefrog4893 2 жыл бұрын
You should try to make a clicker game tutorial! I've seen many other people do it, but you're probably the best scratch tutorial maker on youtube! I'd love to see how you would code that.
@smth35
@smth35 2 жыл бұрын
A good tip for setting up the hitbox colours/sizes is to write them into one or several lists for each entity to not have the need to always rewrite the same entity statistics manually.
@shock59
@shock59 2 жыл бұрын
Nice tutorial griffpatch! This is probably way beyond the scope of this series and would probably require a major rewrite in the way the engine works but it would be so cool to add verticality to this! It could allow for so many amazing projects (possibly an actual 3d Minecraft clone?)
@griffpatch
@griffpatch 2 жыл бұрын
Yes technically that is possible, the only problem is that although possible the price we pay for adding more levels is a much slower project :(
@matjam911
@matjam911 2 жыл бұрын
I send lots of love to this series from a fellow Brit, and would love more episodes…i wonder how yo could do: - Jumping - You/Enemies Flying :O
@rodomits6312
@rodomits6312 Жыл бұрын
11:34 Very good reference
@annihilate2479
@annihilate2479 2 жыл бұрын
This is awesome
@iamgiomadnessday
@iamgiomadnessday 2 жыл бұрын
This is amazing. With the coding and other raycastings for a simple coding website for kids
@user-fp7xg3wm8n
@user-fp7xg3wm8n 2 жыл бұрын
Now we can make 3d baldi in scratch. Good job griffpatch!!!
@redhawk6518
@redhawk6518 2 жыл бұрын
Thank you for episode 5! But, I had some big issues in the project, like: entities disappearing right in front of me, nano not changing into frank, wall color is the same on both sides! Yes it is quite a lot but I am thinking about starting everything again. But anyways great video! Don't stop!
@tt_thoma
@tt_thoma 2 жыл бұрын
These masterpieces won't end
@diamondcat705
@diamondcat705 2 жыл бұрын
Scratch is used for making 2d games Griffpatch: are you sure about that?
@IceTails_
@IceTails_ 2 жыл бұрын
I can't Take Nano's Grin Seriously 🤣🤣🤣🤣
@IceTails_
@IceTails_ 2 жыл бұрын
The Thumbnail Is Even Funnier! The Flipped Nano 🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣🤣
@samuelklogborg
@samuelklogborg 2 жыл бұрын
This video was made on my birthday!
@haski2965
@haski2965 2 жыл бұрын
Texture mapping sounds very cool.
@bryceragragio1149
@bryceragragio1149 2 жыл бұрын
great video i really understand this
@roboboy3773
@roboboy3773 2 жыл бұрын
You can actually add ghosts! In the costume library, you can find many ghost sprites. You just need to resize the hitbox and add a *Spawn (number of clones you want to make) of '4'* block in the entities sprite.
@griffpatch
@griffpatch 2 жыл бұрын
Yeah :D
@-_lIl_-
@-_lIl_- Жыл бұрын
fun fact: if you replace the |go to x: (x) y: (1.5 * (height)) - ((RES) / 2)| with |go to x: (x) y: (1.5 * (height)) - ((RES) / 0)|, you get a cool effect
@Anglens_
@Anglens_ 2 жыл бұрын
You can see sprites over the wall if it is low enough You can also make a forest if you make lots of tree sprites that does not move
@chinmayprathirth4670
@chinmayprathirth4670 2 жыл бұрын
i love you griffpatch you are very good at scratch
@maor100iq6
@maor100iq6 2 жыл бұрын
This 3D Raycasting Really Good.
@reidlab
@reidlab 2 жыл бұрын
i dont even do scratch but i still follow this series because its so interesting
@gecko_6103
@gecko_6103 Жыл бұрын
11:30 lol nice one
@ranajmalaldeen1290
@ranajmalaldeen1290 2 жыл бұрын
Wow awesome
@luuquangminh9903
@luuquangminh9903 2 жыл бұрын
this is so fun i play some game from you
@MrDud-gq8bl
@MrDud-gq8bl 3 ай бұрын
May be watching 2 years later but griffpatch is still the best
@sujatachowdhury4146
@sujatachowdhury4146 2 жыл бұрын
I can't wait for e6 of this video
@_ARTHsT_
@_ARTHsT_ Жыл бұрын
thank you so much for the bug fix solution, my frnak wasnt showing until i read this
ULTRA FAST Raycasting in Scratch - Unmissable E6 Update
19:44
griffpatch
Рет қаралды 260 М.
Sprites Behind Walls (Depth Sorting) | E4. Crazy Fun Raycasting
31:56
That's how money comes into our family
00:14
Mamasoboliha
Рет қаралды 10 МЛН
A clash of kindness and indifference #shorts
00:17
Fabiosa Best Lifehacks
Рет қаралды 57 МЛН
I Tried the Worst Version of Scratch
8:16
PolyMars++
Рет қаралды 723 М.
My Scratch game got 1,000,000 views so I made another one
7:36
NEVER DO this on SCRATCH !
4:14
SL Smart Mind
Рет қаралды 464 М.
I Made A Difficult Game About Climbing
15:04
Pontypants
Рет қаралды 2 МЛН
This Minecraft knockoff is WAAAAY too good...
8:23
Phoenix SC
Рет қаралды 347 М.
Making a Scratch Game In 1 Minute Vs 1 Day
9:22
ZonxScratch
Рет қаралды 458 М.
NEVER DO this on SCRATCH ! | EP 3
10:55
SL Smart Mind
Рет қаралды 1,2 МЛН
I Spent 6 Years Making Games in Scratch
10:03
chipm0nk
Рет қаралды 301 М.