Collectables & Enemies that Chase | E5. Crazy Fun Raycasting

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 13. 07. 2024
  • 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

Komentáƙe • 1,6K

  • @griffpatch
    @griffpatch  Pƙed 2 lety +222

    đŸ”„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: czcams.com/channels/awsI_mlmPA7Cfld-qZhBQA.htmlcommunity?lb=Ugkx4DaJzF6Wakuhh_JWIsNMTLlePVAlTEjH - I'll make a video update soon enough, but until then you can use this. So sorry! Scratch on guys!

  • @xamtastic
    @xamtastic Pƙed 2 lety +184

    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.

  • @hypatch8014
    @hypatch8014 Pƙed 2 lety +45

    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!

  • @senn6743
    @senn6743 Pƙed 2 lety +23

    I love when griffpatch uploads its just a good feeling

  • @vatt1052
    @vatt1052 Pƙed 2 lety +30

    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.

  • @FeniteFr
    @FeniteFr Pƙed 2 lety +33

    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  Pƙed 2 lety +15

      My pleasure - I bet your project will be amazing!

    • @nathanaelchia7167
      @nathanaelchia7167 Pƙed 2 lety +3

      I'm thankful for Griffpatch!

    • @AMAQAS_Editz
      @AMAQAS_Editz Pƙed 6 měsĂ­ci +1

      @@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.

  • @Eli-7528
    @Eli-7528 Pƙed 2 lety +6

    Wow this is amazing!! This is a series of yours that went from a short one to a official one!!

  • @MrPuzzleCodes
    @MrPuzzleCodes Pƙed 2 lety +7

    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 Pƙed 2 lety +15

    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 Pƙed 2 lety +1

      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- Pƙed 2 lety +2

      And I have notifications on

    • @1080GBA
      @1080GBA Pƙed 2 lety +2

      @@memetech- me2

    • @Fateh_the_genius
      @Fateh_the_genius Pƙed 2 lety +2

      @@1080GBA me2

    • @qwertyuiop.lkjhgfdsa
      @qwertyuiop.lkjhgfdsa Pƙed 2 lety

      @@Fateh_the_genius mewtwo

  • @funut2541
    @funut2541 Pƙed 2 lety +41

    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  Pƙed 2 lety +10

      Yes, thank goodness we got over that... I'm afraid a lot of people may have got stuck on it though :/

    • @donkkonk5293
      @donkkonk5293 Pƙed 2 lety +1

      Wait
      It's You!

    • @susrectangle
      @susrectangle Pƙed 2 lety +1

      What :0
      Why did u delete ur vids

    • @schnagli
      @schnagli Pƙed 2 lety +1

      I miss your videos

    • @dasheiligedonerhuhn
      @dasheiligedonerhuhn Pƙed 2 lety

      please make your 3d engine videos public again, I'm just missing the clipping part

  • @crazy_stories96
    @crazy_stories96 Pƙed 2 lety +54

    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 Pƙed 2 lety +1

      Also animate it

    • @EHMM
      @EHMM Pƙed 2 lety

      aaaaaaaaaAAAAAAAAAAAAAAAAAAAAAA*AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA*

    • @SSukram_
      @SSukram_ Pƙed 2 lety

      Yeah but wouldn't it make all the sounds quieter/louder?

    • @paxarite
      @paxarite Pƙed 2 lety +2

      how about echo

    • @squidystutorials835
      @squidystutorials835 Pƙed 2 lety +1

      dude i add a scary sound effect now I'm in the corner of my maze

  • @danielszap6794
    @danielszap6794 Pƙed 2 lety +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.

  • @pe_games
    @pe_games Pƙed 2 lety +7

    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 Pƙed 2 lety +1

      The can see the map lol

  • @BLACKEDSNEPER
    @BLACKEDSNEPER Pƙed 2 lety +3

    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

  • @Its_PacFan
    @Its_PacFan Pƙed 2 lety +1

    This is honestly amazing! Hope to see more of this project in the future!

  • @nishithakur2671
    @nishithakur2671 Pƙed 2 lety

    Fantastic work! Love your videos,keep it up, thanks for answering all our scratchy questions!

  • @frankstercodestuff
    @frankstercodestuff Pƙed 2 lety +3

    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  Pƙed 2 lety +1

      My pleasure - and that's great to hear!

  • @brandtyee6257
    @brandtyee6257 Pƙed 2 lety +59

    One step closer to recreating doom in scratch

  • @boryswal2137
    @boryswal2137 Pƙed 2 lety +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!

  • @EvanWiederandersJazz
    @EvanWiederandersJazz Pƙed 2 lety

    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!

  • @Maanga_juice_sid
    @Maanga_juice_sid Pƙed 2 lety +5

    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.😊

  • @prililacreatore130
    @prililacreatore130 Pƙed 2 lety +9

    Good job GraffPatch. Now you just need to add the textures to the walls or even make a cloud multiplayer raycaster.

    • @snufkin8940
      @snufkin8940 Pƙed 2 lety

      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 Pƙed 2 lety

      @@snufkin8940 I already made a cloud multiplayer raycaster. I can modify it to make an fps game.

    • @preloadingwastaking
      @preloadingwastaking Pƙed 2 lety

      That's not a thing for this raycaster probably. You can do it yourself tho

    • @prililacreatore130
      @prililacreatore130 Pƙed 2 lety

      @@preloadingwastaking I already do horizontal line textures. My challenge is to make a full texture.

  • @cutensouthern2482
    @cutensouthern2482 Pƙed 2 lety

    I haven't been following this series however after seeing this I am filled with ideas, Thank you.

  • @youtubezhou2373
    @youtubezhou2373 Pƙed 2 lety

    Thank you, Griffey patch for this video! You’re video always amazes me!

  • @Twingamerdudes
    @Twingamerdudes Pƙed 2 lety +9

    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 Pƙed 6 měsĂ­ci +2

      How Do You Fix It Correctly, I've Been Watching This Part And I Can't Figure It Out.

    • @Rendy87688
      @Rendy87688 Pƙed měsĂ­cem +1

      @@baconboy1800 same i cant fix it too have u figured it out?

  • @JazzTheLass
    @JazzTheLass Pƙed 2 lety +21

    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 Pƙed 2 lety

      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 Pƙed 2 lety

      @@karthkalbi1105 is it more an rpg like undertale
      Or a horror game like jason

    • @karthkalbi1105
      @karthkalbi1105 Pƙed 2 lety

      @@leroyloanjoe8777 undertale but in 3d

    • @Ham7000
      @Ham7000 Pƙed 2 lety

      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.

  • @bankio6957
    @bankio6957 Pƙed 2 lety

    griffpatch i love your videos! :D you make my day whenever i need some happiness!

  • @villewedenberg2793
    @villewedenberg2793 Pƙed 2 lety +1

    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 Pƙed rokem +1

      Hey, how do you fix it please I’m having the same issue

    • @villeolof2000
      @villeolof2000 Pƙed rokem +2

      @@Stellar-Insight Griffpatch made a bug fixing video in this RPG series, there he also fixes the bug! :)

    • @pnppnp1989
      @pnppnp1989 Pƙed měsĂ­cem

      please tell how did you fix that

  • @KodeurKubik
    @KodeurKubik Pƙed 2 lety +10

    I think it could be wonderful if you can add jumping into the game!
    Super video I love this series!

    • @Hyprst
      @Hyprst Pƙed 2 lety +1

      the way that the raycasting works, means you cant jump or look up and down

    • @KodeurKubik
      @KodeurKubik Pƙed 2 lety +2

      @@Hyprst yes I know but it can be a new goal to code in this game

    • @Kiwi_guy
      @Kiwi_guy Pƙed 10 měsĂ­ci

      @@Hyprst Griffpatch be like: your underestimating me? (creates looking up and down)

    • @svien777
      @svien777 Pƙed 7 měsĂ­ci

      it just existed! check out episode 10!

    • @svien777
      @svien777 Pƙed 7 měsĂ­ci

      lol@@Kiwi_guy

  • @Resseguie
    @Resseguie Pƙed 2 lety +44

    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 Pƙed 2 lety +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 Pƙed 2 lety +1

      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 Pƙed 2 lety

      You could only do an elevator, ramps need real 3d

    • @hegfith
      @hegfith Pƙed 2 lety

      Maybe possible, however would probably be hard due to the fact that our movement is based off of a 2D plane.

    • @FireyDeath4
      @FireyDeath4 Pƙed 2 lety

      TFW
      dpruE

  • @lumaali7928
    @lumaali7928 Pƙed 2 lety

    Yooo griffpatch ty for the tutorial i have been looking forward to these epic features!

  • @laddu54
    @laddu54 Pƙed 2 lety +10

    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

  • @yesimhairy
    @yesimhairy Pƙed 2 lety +7

    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 Pƙed 2 lety +1

      I made the variable already

  • @timeodelaplace2275
    @timeodelaplace2275 Pƙed 2 lety

    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 !

  • @Melting_Skull
    @Melting_Skull Pƙed 2 lety +1

    this was such an awsome and fantastic episode!

  • @liruoshi8672
    @liruoshi8672 Pƙed 2 lety +12

    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 Pƙed rokem

      And animations for the character.

  • @alexandergottman8971
    @alexandergottman8971 Pƙed 2 lety +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?

  • @Maulbox_yt
    @Maulbox_yt Pƙed 2 lety

    Thanks for this amazing series!

  • @justphilippineballwithgoggles

    This is awesome!👌😁💕

  • @samscommandcodes7199
    @samscommandcodes7199 Pƙed 2 lety +3

    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)

  • @WaterhouseFishing
    @WaterhouseFishing Pƙed 2 lety +4

    I'm loving this series!

  • @TommyBKWL
    @TommyBKWL Pƙed 2 lety +1

    3:20 Thank you for showing how to change the wall height like I suggested in the previous video :D

  • @DuckieAM_viewing_chanel
    @DuckieAM_viewing_chanel Pƙed 8 měsĂ­ci +1

    The thing i love about griffpatch is that he makes hidden griffpatch emojis and that happends on every video!

  • @theoriginaldrdust
    @theoriginaldrdust Pƙed 2 lety +4

    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 Pƙed 2 lety

      Is it the original sprite not being hidden?

  • @eagleeye808
    @eagleeye808 Pƙed 2 lety +10

    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  Pƙed 2 lety +2

      Ah, you will need to do the same calculation in a few different places I think - It'll need some thought

    • @eagleeye808
      @eagleeye808 Pƙed 2 lety

      @@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 Pƙed 2 lety

      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)))

  • @ajvof2779
    @ajvof2779 Pƙed 2 lety

    Your tutorial is great. I am looking forward for your next one.

  • @thomasjerry9628
    @thomasjerry9628 Pƙed 2 lety

    Good - As good as could be expected for Scratch

  • @SillyArcade
    @SillyArcade Pƙed 2 lety +6

    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 Pƙed 2 lety

      He has plenty of other tutorials on ai pathfinding that could easily be applied here

    • @mr.killsalot4541
      @mr.killsalot4541 Pƙed rokem

      what i did is make the enemy remember where it last saw you and then make the enemy walk there

    • @SillyArcade
      @SillyArcade Pƙed rokem

      @@mr.killsalot4541 that's actually not a bad solution. I might come back to this.

  • @axlvc509
    @axlvc509 Pƙed 2 lety +8

    Would it be possible to have enemies only chase you when they have a direct line of sight to the player?

    • @whwhwhhwhhhwhdldkjdsnsjsks6544
      @whwhwhhwhhhwhdldkjdsnsjsks6544 Pƙed 2 lety +3

      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 Pƙed 2 lety

      @@whwhwhhwhhhwhdldkjdsnsjsks6544 they could have a little raycaster

  • @_meltedbutter_headadmin2122

    Omg I love your games I play them all the time!!

  • @vaguedestruction
    @vaguedestruction Pƙed rokem

    I used the health bar from your new tutorial in this! You're so good at scratch

  • @TuxikCE
    @TuxikCE Pƙed 2 lety +8

    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 Pƙed 2 lety +1

      Just make the enemy's costume top down, and tell the renderer to render it aswell, that's what I did

    • @griffpatch
      @griffpatch  Pƙed 2 lety +5

      Sorry - This just has to be done using pen.

    • @MayankKumar-gn1zx
      @MayankKumar-gn1zx Pƙed 2 lety +1

      @@griffpatch actually no. I have seen a few people (including myself * insert grin *) use fish eye effect to replicate 3D...

    • @memetech-
      @memetech- Pƙed 2 lety +1

      @@MayankKumar-gn1zx 🐟=3D? Or is it 🐠 that = 3D
      Please explain


    • @melonsdimensions478
      @melonsdimensions478 Pƙed 2 lety

      @@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.

  • @andy010
    @andy010 Pƙed 2 lety +7

    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 Pƙed 2 lety

      Yes, it is definitely possible, but certain parts would look kind of weird

  • @sodbilguun6147
    @sodbilguun6147 Pƙed 2 lety +1

    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!

  • @granitium
    @granitium Pƙed 2 lety

    Thanks for making great tutorials!

  • @julianbaert
    @julianbaert Pƙed 2 lety +3

    You should add an range and only enemies inside that range can see you

    • @1080GBA
      @1080GBA Pƙed 2 lety +2

      You can use the 'distance to' block to do it

    • @bananamanog5596
      @bananamanog5596 Pƙed 2 lety

      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.

  • @conorlynch8876
    @conorlynch8876 Pƙed 2 lety

    You are amazing. Thank you for this

  • @mrebic5750
    @mrebic5750 Pƙed 2 lety

    AMAZINGđŸ’–đŸ’–đŸ’–đŸ’–đŸ’–đŸ„° Best scratcher ever! Thank you!!

  • @ArchiPlays
    @ArchiPlays Pƙed 2 lety +3

    *Lets Take A Moment How Much Effort He Puts Into His Content For Us ❀*

  • @Nerdvpnpro
    @Nerdvpnpro Pƙed 2 lety

    Wow just started making this, on part 3 right now thanks for all the effort

  • @kid_studiesGamer-and-tutorials

    Thank you so much for the tutorial.
    you are the best griffpatch.

  • @jeffandfara
    @jeffandfara Pƙed 2 lety

    Every time I make something, I say, "Thanks to griffpatch." I could never have gotten this far without your videos. Thanks.

  • @gixtuh
    @gixtuh Pƙed rokem

    i love your tutorials

  • @Lilac_Kunzite
    @Lilac_Kunzite Pƙed 2 lety

    Thanks for adding the enemies chasing you part!

  • @funraven659
    @funraven659 Pƙed 2 lety +1

    IS IT JUST ME OR ARE THESE VIDS GETTING BETTER AND BETTER?

  • @Jag.Heter.Wienerbrods
    @Jag.Heter.Wienerbrods Pƙed rokem

    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!

  • @spookywooky3109
    @spookywooky3109 Pƙed 2 lety +1

    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.

  • @shijisadikh7524
    @shijisadikh7524 Pƙed rokem +1

    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!

  • @sbtree-bit
    @sbtree-bit Pƙed 2 lety

    texture mapping, definitely. Maybe adding in viewing different costumes from each end? BTW Love the tutorials!

  • @sokpuppet65
    @sokpuppet65 Pƙed 2 lety

    Thanks to you I finnaly made my first 3d scratch game!

  • @annihilate2479
    @annihilate2479 Pƙed 2 lety

    This is awesome

  • @redberry27gaming43
    @redberry27gaming43 Pƙed 3 měsĂ­ci

    thx for the tutorial and I also used pathfinding for the enemies

  • @balkangames2302
    @balkangames2302 Pƙed 2 lety

    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

  • @bryceragragio1149
    @bryceragragio1149 Pƙed 2 lety

    great video i really understand this

  • @MrDud-gq8bl
    @MrDud-gq8bl Pƙed 3 měsĂ­ci

    May be watching 2 years later but griffpatch is still the best

  • @user-fp7xg3wm8n
    @user-fp7xg3wm8n Pƙed 2 lety

    Now we can make 3d baldi in scratch. Good job griffpatch!!!

  • @chinmayprathirth4670
    @chinmayprathirth4670 Pƙed 2 lety

    i love you griffpatch you are very good at scratch

  • @IceTails_
    @IceTails_ Pƙed 2 lety +1

    I can't Take Nano's Grin Seriously đŸ€ŁđŸ€ŁđŸ€ŁđŸ€Ł

    • @IceTails_
      @IceTails_ Pƙed 2 lety +1

      The Thumbnail Is Even Funnier! The Flipped Nano đŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€ŁđŸ€Ł

  • @samuelklogborg
    @samuelklogborg Pƙed 2 lety

    This video was made on my birthday!

  • @iamgiomadnessday
    @iamgiomadnessday Pƙed 2 lety

    This is amazing. With the coding and other raycastings for a simple coding website for kids

  • @gecko_6103
    @gecko_6103 Pƙed rokem +1

    11:30 lol nice one

  • @shock59
    @shock59 Pƙed 2 lety

    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  Pƙed 2 lety +1

      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 :(

  • @roboboy3773
    @roboboy3773 Pƙed 2 lety +1

    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.

  • @ranajmalaldeen1290
    @ranajmalaldeen1290 Pƙed 2 lety

    Wow awesome

  • @lefrog4893
    @lefrog4893 Pƙed 2 lety

    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.

  • @tt_thoma
    @tt_thoma Pƙed 2 lety

    These masterpieces won't end

  • @matjam911
    @matjam911 Pƙed 2 lety +1

    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 Pƙed rokem +1

    11:34 Very good reference

  • @haski2965
    @haski2965 Pƙed 2 lety

    Texture mapping sounds very cool.

  • @grkhetan
    @grkhetan Pƙed 2 lety

    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  Pƙed 2 lety

      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 Pƙed rokem

      @@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  Pƙed rokem

      @@AjWalker267 See the pinned comment!!! :)

  • @derwastl
    @derwastl Pƙed 2 lety +1

    This is really cool, I also have an idea for episode 6: 3D Sound! 😎

  • @diamondcat705
    @diamondcat705 Pƙed 2 lety +2

    Scratch is used for making 2d games
    Griffpatch: are you sure about that?

  • @tvpac-magic6150
    @tvpac-magic6150 Pƙed rokem

    i was actually thinking of making this into a scratch 3d movie maker before you mentioned it in the video

  • @luuquangminh9903
    @luuquangminh9903 Pƙed 2 lety

    this is so fun i play some game from you

  • @_ARTHsT_
    @_ARTHsT_ Pƙed rokem

    thank you so much for the bug fix solution, my frnak wasnt showing until i read this

  • @theaceoftommorrow1855
    @theaceoftommorrow1855 Pƙed 2 lety

    Amazing, I love this and it was very helpful! I can't wait to finish my game! Thank you, Griffpatch! I wish I could share it with you, but I can't get my email vertified!!!

  • @stickmandhruv9270
    @stickmandhruv9270 Pƙed 2 lety

    Cool video, you can implement all the stuff you said at the last of the video, one by one.

  • @jjsanimations
    @jjsanimations Pƙed 2 lety

    He sounds more excited each episode :::)))

  • @Opti234
    @Opti234 Pƙed 2 lety

    0:50 that’s a very yummy pop-up u got there, fella.
    LEMON!

  • @smth35
    @smth35 Pƙed 2 lety

    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.