"EPIC 3D JUMPING GAME" in Scratch? - Raycaster Tutorial E10
ฝัง
- เผยแพร่เมื่อ 29 ก.ค. 2024
- Everyone wants to code a 3D Jumping Game in Scratch, so join us today as we extend our Scratch Raycaster to allow us to Leapfrog over our enemies to safety! Just imagine the possibilities as we learn to make the next best 3d Scratch Game. Also in this episode, we add better feedback to the player when they get hurt using a tasteful color overlay.
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 Episode 10 - scratch.mit.edu/studios/34165...
👀 Part 1 - • Crazy Simple Raycastin...
👀 Full Episode Playlist - • Crazy Fun Raycasting (...
👀 Quick and Fun Tutorials - • Quick and Fun Scratch ...
❤️ Scratch Addons - scratchaddons.com/
-------------Video Chapters-------------
0:00 Intro
1:05 Pre-requisites - Disable Mouse
3:22 Pre-requisites - Disable Enemy Movement
3:53 Player X, Y & Z for height
6:00 Vertical Position of Entities
7:02 Hitting the Vertical Limit
7:42 Jump Scripts
10:27 Enemy Collisions reworked
12:30 Player Hurt Overlay / Red Warning
14:36 Jumping over an Enemy
16:49 Restore Game Elements
17:51 Outro
A griffpatch video while I’m awake? I’m up far too late…
What? Get to bed mr CrystalKeep7 lol
@@griffpatch lol
@@griffpatchLol
Lol
Around the same time zone as Australia I see (it's 9:43 rn) 😭😭😭
At this point, griffpatch should be able to create an entire multiverse in scratch.
yes. he is the ultimate Scratch master.
Yepteee
I mean yeah pretty much
so true
_no,no... he's got a point..._
-my lazy self, 2023
SCRATCH STUDIO - scratch.mit.edu/studios/34165922/comments
EARLY ACCESS / MEMBERSHIP - th-cam.com/users/griffpatchjoin
ALL THE EPISODES - th-cam.com/play/PLy4zsTUHwGJKolO9Ko_j6IStFIJnTYBul.html
PROBLEM??? - If you skipped episode 9, then either don't worry about disabling the mouse, or just include the top 3 blocks from the "Player Tick" script in the "IF THEN"
Hi there Griffpatch! Im sorry, I now this is not a GD tutorial, but I still wanted to tell you this: There is a guy called Trapmaster that have made an AMAZING Geometry Dash!!! (In Scratch, of course) He have made 7 main levels, a FULL level editor, with different blocks and so on, even play testing! Also icons and colors for the icons and so on, and a menu!!! So please do me a favor and give him a shoutout, he deserves that! :)
Greetings Griffin!
Can you add a Half-sized walls?
Look, there will be a lesson about wall jumping in 3D soon.
Yes Griffpach ?
Yes
:)
i am getting closer and closer with every episode to recreating doom in scratch.
i NEED to see that
You can run doom on anything!!
my friend is doing that too lol
@@RipVanFish09 On a calculator 😎
@@StrykerEXE on a fridge
Although I moved on from Scratch, I still watch these videos for fun. Thank you Griffpatch
non
the timing for these episodes are just perfect (for my time zone)
I retired from Scratch, but these tutorials are still fun to watch.
Python :)@@amthystxx
you're not cool
Griffpatch should be the new CEO of Scratch.
Man, he would fix so many bugs
and keep some@@Richard_Nixon-mr6rq
@@Richard_Nixon-mr6rq And he would give us mouse lock :)
@@NME_One YAY!!
@@user-dk8yz9io4h yeah mouselock, varibleswap, new blocks!
I didn't expect that I predicted the future episodes of Raycasting Series! Maybe also multi height levels will be implomented!
could you have something similar to the rpg game, where different heights have a different level to render
how do you imploment something😂
@@gulugulu244 🤓
well, it was definately gonna come at some point, and i've been pestering him for a while (he's replied)
This has so much potential! You could now have slopes or stairs and multiple floors!!
that would be the coolest!!! someone could make DOOM
@@Theguywithaps2-n if someone can recreate doom in scratch, I can recreate gmod
@@The_cannonmangoofington or quake
Griffpatch omg this is crazy this has been my favourite episode out of the series thank you so much for these epic videos u are the goat!
Yay! So glad to see the raycaster series back!
Griffpatch somehow always manages to code up projects that look very hard with the simplest code possible
btw, that's just brilliant on a whole new level 😯
the code looks pretty hard to me but I guess it could be harder
At this point, Griffpatch knows more about Scratch than the Scratch Team themselves.
True
fr scratch team mid
@@stwork777 Yep
yee
Your tutorials is amazing and cool. You is a master scratch creator.
this is my favourite programming tutorial series in all youtube, this man keeps pushing scratch to its limits, like thinking of how to make this and present it to an audience of young teenagers is incredible and i hope you continue this series
I did alot of these things on my own before the tutorial came, it's cool to feel validated in the way I coded it
Excellent, I am pleased you could sus it out from what I gave you and on your own initiative! - That's very affirming!
@@griffpatch I mispoke, I meant I did a lot of these things on my own before the tutorial came out
Cool, a new 3D raycaster video!
I like how at this point it would just be easier to use an actual game engine but it's fun to see what you can do with a block-based kids programming language, and surprisingly you can do a lot!
This is the ultimate channel for Scratch. I really can't thank you enough for all of your videos. Your style is really enjoyable to watch. The content itself is mindblowing. So good. Just discovered you today so I have a lot to watch!
This series is absolutely amazing I can't wait for more episodes! Also, i hope you will add stairs and other objects that you can go on top
Thank for adding subtitles, It's always appriciated
My pleasure - And thank you so much!
Griffpatch's next video: Hello fellow scratchers! Today we are making valorant on scra-
Ty, Griffpatch! You continue to push the limits of what are possible in what, at surface level, is an elementary game engine. Keep it up, bro!
ty = thank you
im so glad hes continuing this series! lowkey my favorite tutorial series
What if create a scrolling level editor(all clones with 100 ghost effect) and make an other list where their textures will be stored. Also make the raycaster code a bit different, so it scans a bunch of layers (they will be stored in a list. With a bit advancing it could look like 3d Minecraft made with raycasting! I know this message might be hard to understand but thanks for reading! Best TH-camr!
We should make a grid list and use maths to quickly scan across the level. Each grid square stores texture and floor / ceiling height... That is the way to go
@@griffpatch Yep, I also thought of that.
LOVE IT SO MUCH!❤; I FINISH THESE TUTORIALS SO FAST CAUSE I LIKE THEM, THANKS SO MUCH❤
You're welcome 😊
Thanks!@@griffpatch
I think in the next video you should make it multiplayer with the help of the cloud variables, that would be so awesome and would show the full potential of scratch
This is amazing! I added a "Jump" in mine multiple episodes ago, but it was as simple as moving everything down, then up again on a momentum variable
Wow, nice to see you back at the raycaster series! It's nice seeing you Touch it again 😊
Hey, thanks!
@@griffpatchdo you work for Luke and overworld studios?
Note: he've actually switched position y and z, because no matter what dimensions, y is always vertical
Very good :)
I believe it varies based on where you live, kind of like how in the US you use a period for decimals, but in somewhere like Germany it's comma for decimals.
@@SuperAgentAlex im brazillian and i use commas, except for programming
I too wanted to say this
@@alanszinho0 I was simply using Germany as an example.
This guy is just a Genius, I mean Scratch is limited. But he just unlocked the full potential of it. Just mind blowing
Finally, at long last! Jumping in 3d raycaster
WOO HOO! Maybe we can have multiple height levels!
Great ray-casting video! May you make a level selector in geometry dash next?
YEEEES! i have been waiting for a new one forever!!! thankyou griffpatch!!!!!
i think the next thing that we could see is level Hight changing like in doom where you walk upstairs onto a different Hight. floor and ceiling tiles are also something that i would like to be able to see
It would be fun if ray casting was mixed with anti gravity (moving on wall changes gravity)
Griffpatch would probably be able to create a 4D game in a 3D engine
already been done before, and probably yeah
I missed the raycaster series! I lost my progress but im sure i will be able to come back. I have always wanted this! Even though i am not a member, i will always be a supporter of your channel!
Hey griffpatch, Ninja here! I've been expanding my RPG and managed to create 6 layers, with each set of 2 layers having a purpose.
Layers 1 and 2:
- have no collisions
- are behind the player
Layers 3 and 4:
- have collisions
- are behind the player
Layers 5 and 6:
- have no collisions
- are in front of the player
I haven't gotten auto layers to work yet however!
He just cant finish this series🤣 I love how much he's added being someone who's watched from the start
can you please make a way to shoot enemies and make them disappear?
Finally! Now I can make a gmod inspired game! Maybe next bots or a puzzle game? So much ideas but so little motivation!
TH-cam video idea! Platforms, tunnels, stairs, and lava! I would love to see that!
Keep on going and you place of the best scratcher of all time! 👍
im not a girl
I only watch griffpatch videos because I love hearing someone ramble on something I don’t understand.
This series is just so cool! This 3D projection engine is pretty simple, yet super powerful in making unique games! I already have several game ideas I want to try making use of this engine!
Griffpatch helps us to make games and i love that! I'm following tutorials from oldest to newest! ❤😊
You are a master at coding, your tutorials are really amazing and easy to follow. Thank you so much for always being a great help for us! You rock! 😄😄😄😃
If been trying to make this on my own since I first saw this series! Thank you! FINALLY!
really this series never ends 😀😀
i didnt expect this episode!
Looking forward to the next ep of the RPG! love it!
i think a cool idea to explore is raycasting shiny walls, an easy start to do this is ask a ray what colour they are touching a new level sprite named level shine
in order to do this though you would need to make it show and then hide really fast. but the reason you would detect the color is so you can different levels of reflection. this also means we can have a player. im going to try that
so like 3d shaders? that would be great for metal walls that are shiny
You don't know how long I had to wait for this
literaly when you uploaded this video it was 9:59 am i cant belive you record when i wake up...
keep up the good work
omg i just see the video get likes ill like to
Yay New Video!!
I never tought jumping would be in here. It's AMAZING!!!
Hey, @griffpatch! The progress you are making is very impressive! A while back, I made my own custom HUD (Heads Up Display) with a row of 10 hearts and the stars left counter. Since my player has a health of 10 instead of 100, I had to introduce something called i-frames (invincibility frames) to prevent a game over way too quickly. I also went the extra step of adding Natural Regeneration, so the player will regain 1/2 a heart every 5 seconds while not being hurt by enemies. A little health kit or health potion would be cool to have and it could be used to restore 20-25 health points (2 to 2.5 hearts in my case).
The row of hearts also start jigging when it has less than 2.5 hearts.
Ah unexpected tutoring, but very appreciated 👍
Can't wait to mess around with this later, thanks griffpatch!
Griffpatch! Thank you for coming out with another great tutorial! I thought that your raycasting series might be over, but I guess that I was incorrect! I would like to see some more tutorials on this in the future, such as multiplayer support (you could probably even use your other tutorial), or even turbowarp’s high definition pen feature! Either way, I can’t wait for more tutorials, and I hope that I can see more awesome tutorials like this in the future.
THE VIDEO WE'VE ALL BEEN WAITING FOR!
Great work griffpatch!
So good!!
I’m just amazed by how you come up with these stuff! Like wow! I’m am going to start in this soon but I just have some other stuff in orogress which will take around like a few days
I am so watching this later! Can't wait to watch it and update my raycaster! You should do one for texture floors or roofs!
LETS GOOOOOOOOOOOOOOOOOOOO ITS BACK!!!!!!!!!! i would love to see 3d projectiles
Another day, another amazing tutorial
what i wasnt expecting that well now its a great time to make 3d objects in scratch so the jump mechanic makes sense to add
Griffpatch should become the king of Scratch. He is already on his way there. Hats Off!!!
So cool!
I have managed to make custom trxtures for my game thanks to your help
Finally! Its been so much time!
Much needed
I was waiting for this moment... Im readyyy!!!!!!
Literally the exact day I started To wonder when griffpatch was going to continue this series just when I started calculating griffpatch releases this video.
2:00 I really appreciate all the easter eggs you put in your videos
Absolutely love this series! With the new Z axis maybe It Will be possible to make new ceiling, floor, and Wall heights in the level maybe even multiple floors on top of eachother? Can't wait to see what happens next.
Griffpatch is absolutely great at this stuff, love the great work
thank u for teaching this stuff and i am a kid so u explain so well
Oh wow! I was expecting a new geometry dash episode, but this is amazing too! Can't wait to put this in my project!!!
Bro, this man has made me turn from noob to god in scratch.
i like this series. yout taught me that scratch can be 3D
can't wait for that simulation tutorial!!!! :DDDD
Woah, finally! We can jump!!!
WOW thats so cool
Progress is going awesome for me! Only issue I've gotten is that on Turbowarp the damage screen glitches out when taking damage and freezes the game when touching the enemy. It still works on vanilla scratch so idk what the issue there is.
Either way my main objectives that I want to add next to my game would be ranged weapons and how to despawn enemies when they get shot, or maybe all the enemies can have certain health values?
And another thing which Im wanting to do is give the enemies specific states that they switch between like idle phases, chasing phase when they recognize the player's location, and maybe there attack phase.
I dont know if that sounds like a lot but I hope this series can eventually explain some of those things.
THIS IS CRAZY!!!!!
FINALLY ANOTHER RAYCAST EPISODE!
Hooray a new 3D Raycasting maze video! =D
You know it’s going to be a good day when GriffPatch uploads
A better one with the next one! (Silver play button)
woohoo an addon to my project thank you griffpatch
I am inspired by this mans creativity in each video
griffpatch thank you very much for your tutorials they help me a lot keep it up
Im joining in super late to the scratch game making series but i wonder if youd have a way to animate enemies with one or two more costumes if your drawing enemies by hand or the default skins have more than one option?
At this point we’re recreating Wolfenstien 3d’s development process
Hi griffpatch. Do you know how I could make a laser gun that when it shoots, it makes a single ray that scans for entities in front of the ray?
I did the player damage thing in the enemy sprite from the getgo so i could change the animations based on the entity and could have the cola bottles regenerate your sprint
I'm ready!! :)
thx making this video griff
Is there any way to add different y to different positions t will help in making stairs and other cool monuments maybe even 3d models idk, so is there any way to put different y at different positions
edit: by y I mean y for map not player