Sprites in a 3D World | E3. Crazy Fun Raycasting

SdĂ­let
VloĆŸit
  • čas pƙidĂĄn 21. 07. 2024
  • How to make a simple 3d game (Raycaster) in Scratch. In this episode we project a 2d sprite (entity) into our 3d raycast world. We also fix the camera so that we have accurate straight lines, and can zoom like a real camera with Wide Angle and Telephoto views! So cool!
    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!
    👀 Next Episode #4 - ‱ Sprites Behind Walls (...
    đŸ”„ Bug Fixes - ‱ Quick Fixes for Raycas...
    🚀 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/31013...
    👀 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
    1:11 Begin with a Tidy up
    4:21 Linear ray distribution explained
    7:53 Coding the linear ray distribution
    10:11 Field of View is not just horizontal
    11:44 Entities - Enemies & Collectables
    18:04 Preparing a 2D sprite for use in a 3D scene
    20:45 Projecting the 2D sprite into 3D
    24:45 Outro

Komentáƙe • 2,4K

  • @nothingnesss6337
    @nothingnesss6337 Pƙed rokem +160

    griffpatch is like that one teacher who trys to be funny, cool and understanding...
    ...and succeeds

  • @a17waysJackinn
    @a17waysJackinn Pƙed 2 lety +194

    scratch in 2022: we can finally be able to create perfect 3d game..
    scratch in 2069: now how beautiful that ray-tracing graphics we are making..

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

      Nice

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

      Thats already possible im sure

    • @on-point-skillet8660
      @on-point-skillet8660 Pƙed 2 lety +17

      scratch 3033: you can use the block codes to hack into russias systems and launch all of the missiles onto russia

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

      raytracers already exist :)

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

      @@evilfire94090 yea

  • @roderickmesa9478
    @roderickmesa9478 Pƙed 2 lety +22

    I love how griffpatch shares his knowledge to other Scratchers that needed help on their projects. I often learned how to use blocks that I haven't used before.

    • @Karsito-rh1rs
      @Karsito-rh1rs Pƙed 27 dny

      I learned how to use the "Mod" Block from His Platformer tutorial.

    • @juliocesarcamilo5132
      @juliocesarcamilo5132 Pƙed 27 dny

      i wouldnt what a custom block was without griffpatch

  • @benji_bon
    @benji_bon Pƙed rokem +12

    i'm makin one of these in python, and this was the best tutorial I could find! , even though it isn't in python, the way he makes complex concepts so easy to grasp is brilliant!

  • @onyxtautuhi3473
    @onyxtautuhi3473 Pƙed 2 lety +186

    Honestly, I can't help being mind blown by the clever techniques you place in your tutorials! It's amazing!

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

      How did he not think of a sniper scope 😂

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

      Yes his tutorials are amazing đŸ€©

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

      @@vladimir6201 it’s still 3d it doesn’t need that

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

      Now I finally understand why Minecraft completely breaks when you swap the sin and cos functions. I used to think they weren't very important, but it turns out they're used a ton for rendering 3D games! I had no idea!

    • @paxarite
      @paxarite Pƙed 2 lety

      @@lightning_11 hrmm

  • @danielszap6794
    @danielszap6794 Pƙed 2 lety +116

    This is hands down, my favorite series in all of CZcams. (I really love programming.) so ofc, griffpatch’s series are the best, and his 3D series is definately the best series out of all of the ones he had made. All of this 3D stuff is super cool, and makes me super excited. I love it!!! I hope griffpatch doesn’t hold back on fear that it might get to difficult. I really love learning about all of this, and am really confident in my ability to follow along. I want to put all of this 3D stuff to it’s fullest potential.

  • @lechuga2820
    @lechuga2820 Pƙed 2 lety +84

    When I turn away from my entity, it just gets bigger and bigger until it loops back around, becomes really small, and then grows again until i'm looking back at it.

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

      same

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

      Same

    • @Stellar-Insight
      @Stellar-Insight Pƙed rokem +23

      Go to entities code and for the set VY to make sure that it’s X times sin of camera DIR PLUS NOT MINUS Y times cosine of Camera DIR that should fix it

    • @Authaire1
      @Authaire1 Pƙed rokem

      Same idk why

    • @MCMUNKEYY
      @MCMUNKEYY Pƙed rokem +2

      Make sure that you didn’t delete the purple square

  • @sirborkyes
    @sirborkyes Pƙed 2 měsĂ­ci

    you just gotta love griffpatch's videos, he's just always so cheerful and fun to watch! just how he interacts with Nano is fun and playful, and it just creates such a welcoming and happy atmosphere for the video. absolutely just a joy to watch and follow along

  • @SamuraiDestroy
    @SamuraiDestroy Pƙed 2 lety +402

    It would be really cool to see how to make the walls have patterns, add looking up and down, add objects and make the map bigger using some sort of scrolling mechanism. Maybe even add random or infinite map generation.

    • @puganimations2418
      @puganimations2418 Pƙed 2 lety +42

      Yes, we NEED texture mapping

    • @Francisco1234Cruz
      @Francisco1234Cruz Pƙed 2 lety +13

      Yes, just, yes

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

      I bet you could do it with lists. You could probably turn a list into a cube list instead of a grid list, and store the colors as the values for the list. When the raycaster senses a wall, it can detect what color you want by what value is in the list

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

      This could really help with a my Windows 95 Screensaver project

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

      @@IceGuy369 yesss

  • @VeryCrazyDude
    @VeryCrazyDude Pƙed 2 lety +11

    3D in scratch never ceases to amaze me

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

    It's amazing how the projects can be created so easily with these awesome tutorials!

  • @AstroFIIIX
    @AstroFIIIX Pƙed rokem +1

    Hello, I love what you do and I'm a scrapper too! And thanks to you, I'm getting better and better!
    Thank you for these tutorials that allow passionate scratcher like me to do things (like you) incredible!

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

    This is probably one of the best ray-casting tutorials out there! However, I really need to be able to hide enemies and not see them through walls soon, so if you could release episode 4 soon that would be amazing!!! Thank you!!!

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

    This is simply incredible! It amazes me that someone can create this in scratch!

  • @jusstjohnny
    @jusstjohnny Pƙed rokem +4

    me after showing this to people knowing damn well i have no clue what i did

  • @DaBrruh
    @DaBrruh Pƙed 2 měsĂ­ci +1

    man, i like how griff went from "easy scratch game" to TRIGONOMETRY

  • @N3ME5l5
    @N3ME5l5 Pƙed 2 lety +67

    Can we appreciate how much effort griffpatch put into editing

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

      So much - hehe

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

      @@griffpatch I would think so and the editing is amazing đŸ€© never better

    • @GAMEOVER-ud3rp
      @GAMEOVER-ud3rp Pƙed 2 lety +2

      @@Ipostmemes1 idk what's the application he uses 🧐, pls tell me

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

      @@GAMEOVER-ud3rp idk either

    • @tudormol9449
      @tudormol9449 Pƙed 2 lety

      Its scratch

  • @koberto6267
    @koberto6267 Pƙed 2 lety +46

    hello Griff, I love your tutorials and games on scratch and am currently working on a platformer using your series. Keep up the amazing work.

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

    I still can't believe the 3D part was already made in part 2. Keep up the good work!

  • @DaBuddies-td5qk
    @DaBuddies-td5qk Pƙed měsĂ­cem +2

    Grifftpatch is not only the best scratcher, but also a very good person at maths.

  • @Kim-qn4wz
    @Kim-qn4wz Pƙed 2 lety +25

    Dang! The quality of this video! As always, awesome tutorial! And thanks

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

    I love this type of series please continue making Videos about this 3D stuff I'm very excited!!

  • @legosinmotion1231
    @legosinmotion1231 Pƙed 2 lety +31

    I love how he explains everything so well

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

    I understand the whole thing and even came up with the rotation beforehand with complex numbers but I would have never come up with this myself. Amazing work griffpatch! However I think an SDF raymarching that allows for a z position would be great to have. Here are some useful formulas if you need them:
    Union of A and B: min(a, b)
    Intersection of A and B: max(a, b)
    B subtracted from A: max(a, -b)
    Where a and b are the SDFs of A and B respectively.

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

    Hey griffpatch, love your tutorials. They are very clear and in depth. I have a request, can you make a video on a topic we all are afraid of? Lists! Seeing your other tutorials I am sure that you'll explain this topic very well. Thanks

  • @Bruh-bv8mn
    @Bruh-bv8mn Pƙed 2 lety +3

    I really love this series! I can’t wait for part 4!!!!!!!

  • @Chaobai
    @Chaobai Pƙed rokem

    i remember that griffpatch's first platformer video was still really good - this is even better

  • @malikaoliver3182
    @malikaoliver3182 Pƙed 2 lety +11

    Sometimes people underestimate Scratch's possibilities

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

    This is one of your best videos. Your making harder and tougher projects to code for long-time fans like me. Keep it up griffpatch!

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

    i used this for my 3d plane game and my engine 2 engine, thank you for this series! without this series I could not have made my 3D scratch games!

  • @user-lq9rq3lx7w
    @user-lq9rq3lx7w Pƙed rokem

    I just love how much efort you make in these videos

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

    Wow I love it, its so easy to copy these tutorials and slowly, I'm becoming smarter in coding! I'm sure all your fans are having the same thing griffpatch! We all would like to thank you for this!

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

      Great to hear! - Thanks a lot - and Scratch on!

    • @MBSfilms77
      @MBSfilms77 Pƙed 2 lety

      i am having the same experience, griffpatch is a hero!

  • @user-rw4xq6tv8m
    @user-rw4xq6tv8m Pƙed 2 lety +17

    Method of creating a floor: after drawing a ray, you need to set the brightness to 100% and set the color of which will be the floor and after that you need to move the drawing lines to the edge of the map.

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

      dumb it down by alot pls

    • @gyk-zb2fm
      @gyk-zb2fm Pƙed 2 lety +1

      @@drawsap lol

  • @bamiyani2958
    @bamiyani2958 Pƙed 5 měsĂ­ci +14

    I gona Remake the backrooms.

  • @BNDev5624
    @BNDev5624 Pƙed 2 lety

    i like your tutorials Griffpatch, because instead of repeating your moves i actually understand them!

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

    This is just amazing! I hope you will release some more videos on how to add stuff in 3D!! Btw. this game reminds me of The elder scrolls 1 or 2 :D

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

    14:47 imagine we can definitely make a 2d mini map display then put it at any viewport corner

    • @kennethmackissack9022
      @kennethmackissack9022 Pƙed 2 lety

      I tried making Maps. its hard.

    • @TheDakey12
      @TheDakey12 Pƙed 2 lety

      Easy make a map grab the same collision script then, put it at the exact position your standing, then you're done

    • @jofsalter
      @jofsalter Pƙed 2 lety

      @@kennethmackissack9022 agree

    • @jofsalter
      @jofsalter Pƙed 2 lety

      @@TheDakey12 please explain i am very confused

    • @adarsharun4352
      @adarsharun4352 Pƙed 2 lety

      @@jofsalter He means scaling down the collisions of the map and sticking it in the top right as another sprite, but I don't know about the player and other stuff

  • @redrainbowscratch
    @redrainbowscratch Pƙed rokem

    thank you so much for this tutorial griffpatch! these tutorials have helped me so much.

  • @Chelsea-cz8ch
    @Chelsea-cz8ch Pƙed 2 lety

    My heart is still shaking of horror because I’m making a horror game with this and I wanted to see my like freaking SCP HERE and it popped into my face and I don’t know I I passed out or not

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

    Amazing series Griffpatch! You make coding really easy! I learnt a lot from you!

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

    I love his humorous and fun way to teach. The other tutors are usually like, put this and that and here and there and you have it, your game. We don’t learn anything.

    • @neo1754
      @neo1754 Pƙed 2 lety

      i mean, the maths kinda confuses me soooo

    • @caramenal
      @caramenal Pƙed 2 lety

      @@neo1754 Lol true

  • @HeyEmricYT
    @HeyEmricYT Pƙed 2 lety

    Griffpatch! Thanks you for adding my 3D Raycaster E3! Oh, It has 53 views! That is the most amount of views I have ever seen on my Scratch account!đŸ€©

  • @eayuwna
    @eayuwna Pƙed 8 měsĂ­ci

    Thank you for all your efforts. My 9 year old son is now the king of his code club having followed your tutorial and has started asking me to teach him what sin, cos and tan are - wish me luck ;-) Your content is so well put together thank you so much.
    We had a couple of troubleshooty moments that were a bit challenging along the way and it would be really useful if you could add some screenshots of the complete finished code blocks somewhere to help though?

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

    If it's possible, you should make a episode where you can change the walls appearance, have ramps or stairs or make it able to have outside areas

    • @liberalbeanieguy
      @liberalbeanieguy Pƙed 2 lety

      deffinitly

    • @buildandcodewithethan9649
      @buildandcodewithethan9649 Pƙed 2 lety

      Probably could he made on with stairs before

    • @maxsanby9974
      @maxsanby9974 Pƙed 2 lety

      that impossible because in episode one he said make sure there are no gaps otherwise we would get great lag

    • @EvanWiederandersJazz
      @EvanWiederandersJazz Pƙed 2 lety

      To make stairs, you need to heavily modify scripts to make the project support stair collision.

    • @EvanWiederandersJazz
      @EvanWiederandersJazz Pƙed 2 lety

      @@maxsanby9974 It is possible, you just need a different type of raycaster. Adding stairs does not mean you have to leave gaps on the edge.

  • @TheJimmyCartel
    @TheJimmyCartel Pƙed rokem +5

    I used your random maze script with this project as well. i had to change the stamping of corridors into clones to get it working in game, however the moment i start raycasting clones, the game gets really laggy compared to when it was only raycasting off a single large sprite. anyone find a way to generate random mazes without lagging the raycaster?

  • @larandomgurl
    @larandomgurl Pƙed 2 lety

    Omg thank you so much now my game doesn't feel empty anymore

  • @virtuedreamer6623
    @virtuedreamer6623 Pƙed rokem +1

    I love how much this looks like you're just teaching us how to make it run Doom. Because Doom looks a lot like it uses the same formulas!

    • @virtuedreamer6623
      @virtuedreamer6623 Pƙed rokem

      I CAN SEE WHY LITTLE ME WAS SO OVERWHELMED NOW... The new position after rotation formula is making my brain hurt just by looking at it

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

      @@virtuedreamer6623 bro a whole different person in under a month

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

      I’m killing myself because of how hard the rotation formula is

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

    I made some slight changes with the FOV change,
    In "Define (Single Ray)" script, scroll down until you see the "set pen brightness" block.
    "Set pen brightness to (120 - (distance / (DV / 300)))"
    When you do that, when you slide up the fov, the brightness will change even darker, like the player moving.

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

    something i really like about this is how when i set the FOV to a multiple of 180 everything just flips again, and again, and again yet nothing else changes. (like how it works in other games)

  • @heziob77
    @heziob77 Pƙed rokem

    At every video you broke my brain with your ingenius ideas ! Sorry for my english, I'm french

  • @ZacR564Gaming
    @ZacR564Gaming Pƙed rokem

    love it griffpatch and my raycaster work perfectly so far thanks man

  • @agoisded
    @agoisded Pƙed 2 lety +35

    If you are going to make a new one, could you add textured walls?? Maybe with sprites or pen patterns

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

      only issue(s)
      1. Alot of M A T H
      2. How to make the pen correctly draw the texture
      but its a great idea since textured floors and walls makes the game look better

    • @js62926
      @js62926 Pƙed 2 lety

      @@PrivacyNProgramming no its simple, you can just use another go to x x y 0-height/2 pen down set y to height/2 pen up

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

      @@js62926oh, i thought it would be much harder but thanks :)

    • @js62926
      @js62926 Pƙed 2 lety

      @@PrivacyNProgramming actually i messed this up a bit, you just tweak it around a bit and it should then eventually work

    • @PrivacyNProgramming
      @PrivacyNProgramming Pƙed 2 lety

      @@js62926 oh ok, its fine since we can wait till the next part :)

  • @krishnav4sfs
    @krishnav4sfs Pƙed 10 měsĂ­ci +4

    WE GONNA MAKE BACKROOMS AND THE ENTITIES WITH THIS ONE!!đŸ”„đŸ”„đŸ”„

  • @xiuzhang5536
    @xiuzhang5536 Pƙed 2 lety

    It's cool thx for the tutorial!

  • @im_a_random_guy2279
    @im_a_random_guy2279 Pƙed rokem

    I need some help pls. I followed your tutorials exactly on Nanos position with my own photo is it possible that uploaded sprites from the computer won't work? It doesn't stand in one place, instead, the sprite just goes back and forth to the sides of the screen whenever I walk

  • @pixmon6717
    @pixmon6717 Pƙed rokem +4

    I'd love to see how I can make the player look up or down, and how to move the camera with the mouse, like in games like COD or Minecraft, it would be VERY useful :D

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

    my guy making the backrooms 💀

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

      💀 why is that so true

  • @nguyentram1483
    @nguyentram1483 Pƙed 2 lety

    This man explains everything so well and easy too learn

  • @SSukram_
    @SSukram_ Pƙed 2 lety

    Oh this is the perfect way to make a multiplayer scratch game

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

    I think this is the episode where things go from "simple and intuitive" to "just trust the maths!"

  • @matthurkot5554
    @matthurkot5554 Pƙed 2 lety +19

    In the next episode can you make something like doors to next levels? That would be cool

    • @Aiaimonkey8093
      @Aiaimonkey8093 Pƙed 2 lety

      Oh yeah like a portal, that would be so cool

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

      @@Aiaimonkey8093 thats actually simpler than you think, you can just make it when the player touches a sprite on the map, teleport them to this x and this y. and you can also add raycasting to that as well

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

      @@js62926 you can just change the level costume if the player sprite touches a certain portion of the map. used this to code in some dynamic obstacles

  • @blazedoesSHORTS
    @blazedoesSHORTS Pƙed rokem

    i am amazed by griffpatch explaining math like spittin' bars

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

    hi griffpatch if you see this when you set distance to vy, vy doesnt pop up and also when you set size to height i can't find the height block please respond.

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

    That's Awesome! Could You add the Following Episodes in a Platformer Tutorial?
    - 12: Moving Saws and Trampolines!
    - 13: Add Death animations
    - 14: Smooth Platform Movements
    - 15/Final Episode: Bosses and Goal!

    • @Septagon_Sep
      @Septagon_Sep Pƙed 2 lety

      Please Reply Griffpatch if You Like It!

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

      I do love all those! I have a similar list myself :D

    • @parthsolanki2617
      @parthsolanki2617 Pƙed 2 lety

      @@griffpatch Make a Episode of platformer game it is been long time for that episode

    • @NotMutantmikan
      @NotMutantmikan Pƙed rokem

      @@parthsolanki2617 TRAMPOLINESSSSSSS

    • @NotMutantmikan
      @NotMutantmikan Pƙed rokem

      and TELEPORTERS

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

    you should change the "simple" in the description

    • @griffpatch
      @griffpatch  Pƙed 2 lety

      I already did... But the post link perhaps doesn't change?

    • @jaecheokkim99
      @jaecheokkim99 Pƙed 2 lety

      @@griffpatch i think so!

    • @neo1754
      @neo1754 Pƙed 2 lety

      @@griffpatch im encountering a bug where when i look around my entity just zips and zaps around the random spots on the map?? but when i check my code its the exact same as yours

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

    Hi Griffpatch I'm having an issue for some reason I can't find the vx and vy variable in my scratch a little help, please? Thank you.

  • @jewarpl
    @jewarpl Pƙed rokem

    i really appreciate how you explain all this stuff, these tutorials are so good

    • @griffpatch
      @griffpatch  Pƙed rokem

      I try my best :) thanks

    • @jennygardner1171
      @jennygardner1171 Pƙed rokem

      @@griffpatch you are amazing

    • @NikoCubeRoot
      @NikoCubeRoot Pƙed rokem

      @@griffpatch When i do the thing on 8:50, it just breaks the raycasting and it just became one-dimensional raycaster. How am i gonna do that if it just goes 1D instead of being working as a 3D?

  • @nvshrushikeshreddyvii-b5076

    If there was an award for the best scratcher of the year , then it would be you griffpatch.

  • @Syber_1230
    @Syber_1230 Pƙed rokem

    "Now we will be using trignometry again, thank you wikipedia" got me dying

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

    so i have a problem. when i tried to make one side of the hallway dark. it wouldn't work. what should I do.

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

    hey can u help me cz wene in the of block of the sensing category wene i do entity on the right i cant make the vy in the left they dont show it to me

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

    I love Griffpatch's enthusiasm, It just makes coding a lot more fun, and it makes learning so entertaining! It really makes me want to continue game development! Thanks, griffpatch!

  • @fununtilfun58
    @fununtilfun58 Pƙed 2 lety

    griffpatch, i have a problem with my nano sprite, for some reason it goes crazy around the map, it even goes like insanely tiny, it just slips around everywhere, can you help me with that?

  • @somebody4173
    @somebody4173 Pƙed rokem

    At 9:36
    Is it obligatory to use that [point in dir. (Camera DIR + atan of x / dv)] or rotation around?

  • @marianrocky669
    @marianrocky669 Pƙed 2 lety

    I've been making a perfect doom edition an i needed help then I realized you an you helped, thanks

  • @Coding_and_Gaming
    @Coding_and_Gaming Pƙed 2 lety

    thanks very good, inspiring, educating and improving

  • @Gemster-uw4ig
    @Gemster-uw4ig Pƙed 8 měsĂ­ci

    Good Job Griffpatch!!! Keep up the awsome work

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

    You are the best scratch helper ever thanks you for all of your help

  • @jaredsutton9497
    @jaredsutton9497 Pƙed 2 lety

    how do you make it so colors on the walls are different, like as if there were shelves and things on them. how would I make that so?

  • @wuriyetlitip6254
    @wuriyetlitip6254 Pƙed 2 lety

    Really delighted to see griffpatch again and I'll be able to study that even it's truly hard LOL😝

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

    Help me :(
    Nano is becoming tiny if i am far from it and much bigger when I am close to it.
    Is there anything wrong?

  • @VeerPandey-kb6rg
    @VeerPandey-kb6rg Pƙed 27 dny

    SO easy to understand and is very cool👌

  • @untextured4240
    @untextured4240 Pƙed 2 lety

    "hey, look at this cool 3d game I made!"
    "Cool! How did you make it?"
    "I have no idea."

  • @chelseareel-nonofficial9720

    i cant get it to work bc when doing the when i receive paint in the vx of entities part it wont let me select vx only vy

  • @cmb61512
    @cmb61512 Pƙed rokem +1

    for some reason i cant see my vy varible in my of block what should i do?

  • @kayalvilethiruvarulruban4928

    I can't help liking it like mad

  • @alexmacdonald3425
    @alexmacdonald3425 Pƙed rokem +1

    I'm trying to project the entity but it's just a small version of that sprite in the middle of the screen, how do you fix that?
    Edit: Nvm I fixed it but he's moving when I'm moving unlike Griffpatch's nano, how to fix this Griffpatch?

  • @vickygallon5454
    @vickygallon5454 Pƙed 2 lety

    i have an issue when i make a variable more specificly the height variable near the end of the video it wiont show up on the vairiables tab can someone please tell me how to fix this please?

  • @tobsmashers
    @tobsmashers Pƙed 2 lety

    hey idk whats wrong maybe someone does but when i do the tidy up after finish tidying and when i test the 3d world doesn't turn only the 2d map layout does hopefully someone knows how to fix it

  • @-CosmoCode
    @-CosmoCode Pƙed rokem

    Thanks for This series!

  • @GamezAlotYT
    @GamezAlotYT Pƙed rokem

    why is my hight variable at 20:45 isint showing up at the block list. I've reviewd the part many times it just issint showing.

  • @randomperson-yu1jm
    @randomperson-yu1jm Pƙed 2 lety

    This guy can explain better then my computer teacher teaching us how to make i fricing 2D catch game

  • @turboplayzthis6968
    @turboplayzthis6968 Pƙed rokem +1

    Also if u dont mind me asking, when i hit the green flag my sprite wasn't infront of me so I had to turn left to see it unlike yours so I don't know what to do to fix it

  • @aaritaithal1994
    @aaritaithal1994 Pƙed 2 lety

    I can't seem to do the "point in direction CAMERA DIR + atan (x/DV)" part. All that shows up is a blue background.

  • @Gamingwolverine1
    @Gamingwolverine1 Pƙed 2 měsĂ­ci

    Bro, Griffphatch is so helpful
    I have been doing this raycasting for while now
    Geometry dash and Lemon invation failed, but not me
    Im happy with Griffpatch's teaching

  • @HeyEmricYT
    @HeyEmricYT Pƙed 2 lety

    10:11 That is so cool! Nice Job!

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

    When I tried to do the code at 7:53 (fixing the reverse fisheye) the width of my player's sight went down dramatically. Instead of being able to see 60 degrees in front of him, it's only about 10 XD What's the fix to that?

  • @zenith613
    @zenith613 Pƙed 2 lety

    Whenever I replace the “set height to 4000/distance it makes my vision super wide and it takes forever to get to a single wall. Any known reason why?

  • @-JustLuna-x
    @-JustLuna-x Pƙed 2 lety

    😾 thank you for this it really helped

  • @mushroomheadedfreak5078
    @mushroomheadedfreak5078 Pƙed rokem

    Can somebody please help me because when I put in the dir script I cannot rotate the camera anymore, so I ended up getting rid of it but it’s required for most of this video
 I’m not sure if this is happening because I have coded the player to turn when I press q or e.