I implemented those enemies and they give a really cool touch to the game. Thank you very much. I'm gonna try to handle the player hitbox because the death by ennemies is quite sensitive
@griffpatch , I tried two ways (that did work) of implementing the use of a hitbox for the player and I need some advice. The first one was to broadcast a new event "Touching Enemy" instead of "lose life" in the "Touching Player" block in the enemy. The Player receives this event, changes costume to the hitbox and deals wether the hitbox really touches the enemy clone and then broadcast lose life or not. As I said, it did work but it seems a bit messy as the check for touching danger happens in the "Tick last" event receiver. I'm afraid this could mess up with the costume change to hitboxes as two different scripts can now change costums to hitbox and check for collision with dangers ans enemies. (I did not mention that I added a hitbox for the "touching danger" in the "tick last" too cause, it was also a little bit sensitive with danger sprite ;-) ) So I tried another solution of having a new "for all sprites" variable named "TOUCHING ENEMY". It is set to 1 by the enemy clone instead of broadcasting "lose life". The player, in the "tick last" event receiver can now check the TOUCHING ENEMY variable value and do the hitbox costume trick in that script. Which keeps the costume hitbox and check for collision with danger and enemy a little more tidy. Then at the end of "tick last" receiver, the variable is set to 0 if the player is not touching an enemy. There might be a better place to reset the variable which I haven't found yet. I'd rather like the second solution with the variable but I'm not sure. Both those implementations involves 2 sprite touching tests (one in the enemy clone, one in the player) which is not very effective. Which solution seems better to you and why? Or am I in the wrong direction? Thanks a lot.
You could add another way to defeat enemies in a future tutorial. Such as.. a sword! Or maybe a shooting weapon. (Because that is what i'm dealing with at the moment) Another thing you can add is enemies with multiple lives (Not exactly like a Paragoomba for example, but with health that is (in)visible), or even a boss!
@@rodgeangeroancelso6109 yeah, i have already developed a shooting at enemies mechanic. I might also add metal body/helmet to enemies. Also, multiple health can be done by setting a local variable to a number at the start of "when start as clone", and change health by -1 when normally the enemy should be squashed. And squash the enemy if enemy hp is below 1 after changing the hp.
Cannot believe how far this series has gone. How could someone possibly not subscribe after all this? 3:23 WAIT WHA, the sprite is still named 'sprite1' instead of 'Enemy'!?
LOVE WATCHING YOUR VIDS WHEN I HAVE FREE TIME, though it would be fun to see him use a Boolean in a custom block for the first Time (yes, I know he used a Boolean in custom blocks OFF camera, but I want to see do it ON camera) Still, keep up the awesome work
I was waiting for that episode more than Santa's gifts Thank you Griffpatch for making it so simple to understand that's the most important thing. Till next episode 😉
Your scratch skills never fail to amaze me, how you can figure out all these complicated things like pathfinding and even physics inside a scratch engine is beyond me, amazing work keep it up!
19:46 People actually use this in speedruns for the original Super Mario Bros. They jump from under and avoid the hitbox and they fall for a few frames and defeat it when they touch the hitbox. Edit: Congrats on 100k!
two suggestions: 1. Instead of a 1 + floor of frame mod 4, could we have done a join Red and floor of frame mod 5? 2. Instead of a change speed y by -1, should we have used the already existing gravity variable?
i will always remember the day as a kid i went to some place (i dont remember if it was some kind of festival or not) and there were some dudes sitting outside with a laptop, they offered to teach me what scratch is and how to use it for fun, didnt really use scratch after that but always found it cool
Episode 1: Basic control Episode 20: Cloud multiplayer, score system Episode 25: Exporting game as .exe file and put it on Steam, Google Play and App Store
Idea 1: add portals that can teleport you through the same scene or difference scene Idea 2: add jump orbs that when you click them and are touching them mid air you jump but if you dont click you go through
Finally, enemies! Next might be: jump boosts, more enemy types (bigger enemies or enemies with better AI; possibly bosses), or maybe power ups (1ups and the like)
BOTH OF THESE METHODS CHECK ONE LETTER AT A TIME make one empty costume and then 26 costumes called A,B,C etc switch costume to (empty costume) switch costume to ((letter variable)) if costume is not empty costume it is uppercase, otherwise lowercase ORRRRR if you don’t want to make 27 costumes, you can a make a bit more code, don’t worry it’s a lot easier to make imo make one costume that is empty and one costume named ABCDEF… all the way to Z ( all letters uppercase) then a variable named Characters and set it to A to Z all uppercase again and a variable called String also any counter variable works, like “i” or “counter” now set counter to 1 and string to nothing repeat 26 if letter (counter) of (Characters) = the character you are checking then set string to (string) join (character you are checking) else set string to (string) join (letter (counter) of (Characters) to finish the repeat loop add a change counter by 1 AFTER the repeat loop set costume to empty costume set costume to string if costume is empty costume then it is lowercase, otherwise it’s lowercase hope this helps!!
20:00 whaaaaat??? i've been using scratch for years and i just NOW find out that you can read sprite specific variables on other sprites? that's so usefull!!!
I’ve been hooked on your grid based side scroller series, and what would he cool to see added would be either dialogue, or cutscenes, as these are going to be very crucial to my game, and it’s been stumping me on how to make them.
For the spring, you can copy the "Level" sprite or whatever you called it, and add springs to the level. Except instead of just being there, make a working hitbox and in the player sprite,
maybe next you could add text boxes and talking sprites. like, if you walk up to the door without a key a text box will appear at the bottom of the screen with a portrait of scratch cat, and he'll say something like "I think we need a key for this"
You made a post and someone commented 'Hi griffpatch! I have some ideas for the Platformer series: Enemies that kill the player, (I forgot what was the second one) and water' so you made this video. How many parts does the series have!? Please don't tell me that this is not the last episode.
i know this was made 2 year ago but this is really helping me a ton! also my enemy keeps disappering after a few seconds even thou it hasn't been changing scenes, is it because i"m using TurboWarp instead of scratch?
Hey so this is an idea for another series. Do you know if you could teach us how to make MMO's? Your MMO platformer was really great and still worked during high player periods, and I was just confuzzled by the code. It would be great if you create a series on how to create an MMO game (not the regular max 8 players, but larger where it can go up to 20 or even 30). Also sorry if this is like in the wrong place or something I didn't know where to keep it. Great tutorial, by the way.
I made a platformer game with some of griffpatch help and used some of his geometry dash game and also added some of my little features, called "Geometry dash PLATFORMER 1.4"
For the player death sound looping u could just replace the ‘broadcast lose life ‘ in the block touching player by ‘broadcast lose life and wait’ I hope u see this😊
I implemented those enemies and they give a really cool touch to the game. Thank you very much.
I'm gonna try to handle the player hitbox because the death by ennemies is quite sensitive
@griffpatch , I tried two ways (that did work) of implementing the use of a hitbox for the player and I need some advice.
The first one was to broadcast a new event "Touching Enemy" instead of "lose life" in the "Touching Player" block in the enemy. The Player receives this event, changes costume to the hitbox and deals wether the hitbox really touches the enemy clone and then broadcast lose life or not. As I said, it did work but it seems a bit messy as the check for touching danger happens in the "Tick last" event receiver. I'm afraid this could mess up with the costume change to hitboxes as two different scripts can now change costums to hitbox and check for collision with dangers ans enemies. (I did not mention that I added a hitbox for the "touching danger" in the "tick last" too cause, it was also a little bit sensitive with danger sprite ;-) )
So I tried another solution of having a new "for all sprites" variable named "TOUCHING ENEMY". It is set to 1 by the enemy clone instead of broadcasting "lose life". The player, in the "tick last" event receiver can now check the TOUCHING ENEMY variable value and do the hitbox costume trick in that script. Which keeps the costume hitbox and check for collision with danger and enemy a little more tidy. Then at the end of "tick last" receiver, the variable is set to 0 if the player is not touching an enemy. There might be a better place to reset the variable which I haven't found yet.
I'd rather like the second solution with the variable but I'm not sure. Both those implementations involves 2 sprite touching tests (one in the enemy clone, one in the player) which is not very effective.
Which solution seems better to you and why? Or am I in the wrong direction?
Thanks a lot.
I added Checkpoints all by myself! Griffpatch inspired me to not be afraid of platformers! Thanks!
This series is helping me out a ton, because I'm making a platformer in Pocket Code,so most things also work on it.
Pocket code is dum
@@namrata.agarwal not that dumb, o tried It before, basically scratch but for apps
You could add another way to defeat enemies in a future tutorial. Such as.. a sword! Or maybe a shooting weapon. (Because that is what i'm dealing with at the moment)
Another thing you can add is enemies with multiple lives (Not exactly like a Paragoomba for example, but with health that is (in)visible), or even a boss!
I think a boss would be fine for my project
@@rodgeangeroancelso6109 yeah, i have already developed a shooting at enemies mechanic. I might also add metal body/helmet to enemies.
Also, multiple health can be done by setting a local variable to a number at the start of "when start as clone", and change health by -1 when normally the enemy should be squashed. And squash the enemy if enemy hp is below 1 after changing the hp.
A custom moveset can be made in the enemy loop
yes, i remember mario having a gun!
@@coldintakevideos RELAX BRO
Cannot believe how far this series has gone. How could someone possibly not subscribe after all this?
3:23 WAIT WHA, the sprite is still named 'sprite1' instead of 'Enemy'!?
ik why sprite1 instead of enemy
Hahaha:D
LOL🤣🤣🤣
agree
true
LOVE WATCHING YOUR VIDS WHEN I HAVE FREE TIME, though it would be fun to see him use a Boolean in a custom block for the first Time (yes, I know he used a Boolean in custom blocks OFF camera, but I want to see do it ON camera)
Still, keep up the awesome work
The rarest sight ever. So rare, not even I recall using it, haha.
I was waiting for that episode more than Santa's gifts Thank you Griffpatch for making it so simple to understand that's the most important thing. Till next episode 😉
How did you wrote that emojie?
@@Scratcher_No-1 he is sponsor
@@Scratcher_No-1 Yeah I'm a sponsor
@@coldintakevideos No!
@@coldintakevideos How old are you mr Roblox? LOL
I can't believe I've actually found your channel I've been playing your scratch games for like 3 years they're so fun!
thx for getting me good games🤗
Finally! I wanted a tutorial on enemies.
21:53 ( look at the “Ok” button when the Player - Bounce is right about to be added.) Thx for the tutorials!
Your scratch skills never fail to amaze me, how you can figure out all these complicated things like pathfinding and even physics inside a scratch engine is beyond me, amazing work keep it up!
No he always messes up, he is the worst
@@aleksandrakandelaki7956 Thats not very nice
@@aleksandrakandelaki7956 not really
19:46 People actually use this in speedruns for the original Super Mario Bros. They jump from under and avoid the hitbox and they fall for a few frames and defeat it when they touch the hitbox.
Edit: Congrats on 100k!
two suggestions:
1. Instead of a 1 + floor of frame mod 4, could we have done a join Red and floor of frame mod 5?
2. Instead of a change speed y by -1, should we have used the already existing gravity variable?
First one goes through all 5 costumes so it doesnt work
Hope you had a great Christmas griffpatch
Thank you
@@griffpatch and i hope you will have a great time at home
I was waiting for this tutorial for years, and finally got it. Thanks griffpatch
Thank you thank you!. I waited for a long time for this video . This is a very exciting video 🐱.
Could you please make one that keeps the enemy squished even when you return to that scene. TKS!
I know how to do that. Use a similar trick to the one for keeping collectables in the same place on a different screen (the null room)
@@soapfaces daa
@@coldintakevideos bro what are you on about
@@coldintakevideos Scratch is coding, it's just simpler, and also, that comment is off topic.
@@coldintakevideos don’t care about him
I stopped making scratch and moved to python and unity projects but still watch these.
Awesome... It's all the same at its roots... :)
Griffpatch you should make a shop where you can buy things with apples, like for example a key so that the players can't just skip a ton of the map
That is what I am doing
I love it when griffpatch is funny like at 8:49 there was a lemon on top of the custom block
It would be cool if you make the background parallax instead of staying still! It would create some nice depth to it!
On scrolling games that's cool, but not quite as good on a non scrolling game like this
@@griffpatch some games do that anyway. but yea, sometimes, it can drive the player dizzy!
@@griffpatch Happy New Year's Eve!
Sadly the scene-based nature of this project makes it really hard to do, if not impossible.
i can help you rephrase that: Make the whole level slightly move when you move so it looks like a somewhat 3d environment
i will always remember the day as a kid i went to some place (i dont remember if it was some kind of festival or not) and there were some dudes sitting outside with a laptop, they offered to teach me what scratch is and how to use it for fun, didnt really use scratch after that but always found it cool
I’ve been waiting for this for so long, I decided to create a combat mode for it!
Real cool!
Nice! Loving all of these episodes!
I honestly can't believe that this series got so far. Love you Griffpatch
Ooh, I like the little red chompers! xD
Episode 1: Basic control
Episode 20: Cloud multiplayer, score system
Episode 25: Exporting game as .exe file and put it on Steam, Google Play and App Store
lol
Nice.
Yes
Hey, congrats on 100k subs!
idk why do one has litterally metioned that lol (its a great achievment(i havent even got one subscriber xd))
Idea 1: add portals that can teleport you through the same scene or difference scene
Idea 2: add jump orbs that when you click them and are touching them mid air you jump but if you dont click you go through
JOMETREY DASH REFFRENSE!?!?!?!?
Yeah, that's gd
28:00 Griffpath you are so organized! My scripts are so large 🤣🤣🤣
I really love platforms and mini games like this, they’re really fun to play
Exactly!
I hope this tutorial will add more variety because right now it feels like all the platformers are getting very stale and generic
I agree
@@khlobbia yea
@@rodgeangeroancelso6109 same
Wow my platformer is gonna be great now Thankyou sooo Much Griffpatch!❤❤
Yes it will!!! Woohoo :D
@@griffpatch ☺❤YEP!
I can definitely see where the inspiration of the enemies came from
Hint : Appel
a a p p p p e e l l
you got it right
this remembers me somehow of this custom getting over it
he said that at the start
he said that
Wow!
So awesome!
I was waiting for this.
Finally, enemies! Next might be: jump boosts, more enemy types (bigger enemies or enemies with better AI; possibly bosses), or maybe power ups (1ups and the like)
Yeppp
@@theobaldtiu and more like portals, potions and more collectable items!!! ^!^
@@worst_120 I already added 1ups to my game
It's not difficult
YESSIR
100k finally! Congratulations, your tutorials are great!
You are an amazing scratcher and makes it easy to code with your awesome youtube videos! Keep it up!
no
thank you so much for this. this changed my life!🤩🤩🤩
I want to know, how do you make multiple enemy types, because I want to have more enemies instead of the same enemy used over and over.
i know how to make different enemy types.
I love platformer games! Because it's fun for me to compete with my siblings and friends. What a good time it is!
Idea: make an enemy with pathfinding that will actively chase the player
nice
Yea good idea
With would be really cool with the maze tutorial!
that is an awsom idea
In his game appal (or something) there is that or something similar at least...
Aww man I was hoping for a tile scrolling episode, but this is good too.
Griffpatch, do you know how to separate "a" and "A" in Scratch? I need it for making a keyboard in Scratch.
Hmmm maybe an if costume number = (insert number) but idk I’m not griffpatch, also I made a keyboard thing aswell
@@eforluc it probably doesn't work...
BOTH OF THESE METHODS CHECK ONE LETTER AT A TIME
make one empty costume and then 26 costumes called A,B,C etc
switch costume to (empty costume)
switch costume to ((letter variable))
if costume is not empty costume it is uppercase, otherwise lowercase
ORRRRR
if you don’t want to make 27 costumes, you can a make a bit more code, don’t worry it’s a lot easier to make imo
make one costume that is empty and one costume named ABCDEF… all the way to Z ( all letters uppercase)
then a variable named Characters and set it to A to Z all uppercase again
and a variable called String
also any counter variable works, like “i” or “counter”
now set counter to 1 and string to nothing
repeat 26
if letter (counter) of (Characters) = the character you are checking then set string to (string) join (character you are checking)
else set string to (string) join (letter (counter) of (Characters)
to finish the repeat loop add a change counter by 1
AFTER the repeat loop
set costume to empty costume
set costume to string
if costume is empty costume then it is lowercase, otherwise it’s lowercase
hope this helps!!
@@bitofbeans I'm gonna try it!
And, quick comment, you can actually not use 4th sprite in 2:48, but rather just cycle back to 2nd sprite after 3rd one is played out.
I can’t explain how great this video is! There are literally no words for it! You are so amazing! Keep up the good work! 🥰
Congratulations. You have now explained how great this video is.
20:00 whaaaaat??? i've been using scratch for years and i just NOW find out that you can read sprite specific variables on other sprites? that's so usefull!!!
also wanted to say since E3, I appreciate you for making a cat sprite pre-hand for us 😊
My pleasure :)
Hi griffpatch !
Wow this adds so much more to the platformer! Will yiu do collectable weapons?
I'd have to think about it
Why?
Pleasssseee I’m making a ninja game out off this 🥺🥺🥺
it would be really cool if the enemy sloped similar to how the feet of our player slope to match the ground.
agreed
NEVER GUNNA GIVE YOU UP NEVER GUNNA PUT YOU DOWN!!! (: rick roll
@@mrfrog0913 *let you down* and it's not "gunna" it's "gonna"
@@mrfrog0913 NOnoOooOoo please do do this to meeee! what hav i done!
@@griffinbrooks6748 Never gonna give u up Never gonna let u down Never gonna run around and desert u
I was waiting to squish all those enemies , thanks @Girffpatch for this marvelous gift and wish you a Happy new year ahead.
we need “How To Think Of Ideas”
Happy 100k subs! What a great start to the new year!
TYSM griffpatch you make coding seem so easy. Your work is so underrated you deserve way more subs
7:10 appel *seeing his enemy was made by griffpatch* flashback
i know your face now
Wdym?
his profile dudes or maybe not
@@Does_not_play_anything999 scratch academy has a face reveal but this comment was last year so, yeah, it would be from the profile
I waited for this episode whole days
How can someone not subscribe ? This is too good to be real!
Eewdsdfwgwr 78otv txt b monogamy Ulloa TNT
I’ve been hooked on your grid based side scroller series, and what would he cool to see added would be either dialogue, or cutscenes, as these are going to be very crucial to my game, and it’s been stumping me on how to make them.
An episode we have always been waiting for
I have really want a tile scrolling tutorial
First time watching the best Scratcher YTber other than the scratch team
You are a awesome Coder I wish that you got all success in life and you hit 10M very Fast 🔥🔥
:D
i dont follow the tutorials i just watch the videos because i find them intresting
You should've added that cool thing in Mario that when you hold the jump key while the enemy is squished, you get an extra jump boost.
Wow, it's already 2 853 watches! Love your videos, Griffpatch! Hope next are power-ups, like Fire Flower or Tanooki suit!
You could add power up's, hearts to represent your lives, a spring, npc's and more!
For the spring, you can copy the "Level" sprite or whatever you called it, and add springs to the level. Except instead of just being there, make a working hitbox and in the player sprite,
Thanks.
That's a good one my sons and I where waiting for.
Keep on the good work.
That was so cool !!!!!! I cannot wait for part 12
NOUCE
The best thing about Griffpatch is that he makes cool games and videos
Thankyou Griffpatch!
We did it… we made this man hit 100k subs
Woooow cool!
maybe next you could add text boxes and talking sprites. like, if you walk up to the door without a key a text box will appear at the bottom of the screen with a portrait of scratch cat, and he'll say something like "I think we need a key for this"
Cool
Thank you so much! making my own platformer and had to tweak it a little.........but it worked great!
Just Wanna Say Your Vids Are Awesome!
Congratulations with 100k subscribers, griffpatch!
You made a post and someone commented 'Hi griffpatch! I have some ideas for the Platformer series: Enemies that kill the player, (I forgot what was the second one) and water' so you made this video. How many parts does the series have!? Please don't tell me that this is not the last episode.
Yes!!! Finally a new platformer game! Thanks so much for making these. I hope you make more tutorials like these!!!
Almost 100 subscribers!
i know this was made 2 year ago but this is really helping me a ton!
also my enemy keeps disappering after a few seconds even thou it hasn't been changing scenes, is it because i"m using TurboWarp instead of scratch?
Loveee the tutorials man, helps a ton ❤️
wow wonderful
When I have a problem with scratch this I’ll be my first go to channel. YOUR VIDEOS ARE AMAZING❤
Congrats on 100k!
This is the tutorial I've been waiting for
at 21:35 it's actually nice that the player didnt bounce cuz it looks he'sheavy enough to squish
100k congrats!
Aaaaah! I love all your vedios cuz they're awesome!!
Will you make a episode 12?
Hey so this is an idea for another series. Do you know if you could teach us how to make MMO's? Your MMO platformer was really great and still worked during high player periods, and I was just confuzzled by the code. It would be great if you create a series on how to create an MMO game (not the regular max 8 players, but larger where it can go up to 20 or even 30). Also sorry if this is like in the wrong place or something I didn't know where to keep it. Great tutorial, by the way.
Hi! Can you make tutorial about saving system? I think it will be a good addition to our game :D
Or can you made Conway's Game of Life?
Good job! Your doing a good job in doing this. Continued doing this!
Congratulations for 1 lakh subscribers
I love the scratcharia's that you Made!!
Ayyy, congrats on 100k!
Hey uuh, quick question, are you planning on making any videos about making a 3d game using pen module?
I made a platformer game with some of griffpatch help and used some of his geometry dash game and also added some of my little features, called "Geometry dash PLATFORMER 1.4"
I don't know why this guy is AWSOME also good luck on the road to 100k subs!
Yes he is
For the player death sound looping u could just replace the ‘broadcast lose life ‘ in the block touching player by ‘broadcast lose life and wait’
I hope u see this😊
7:08 Yellow Square With Green Rectangle On Top Of It?
8:48 Susmon...
21:54 SUSSY BLOCK...
my game is now, AMAZING, thanks griffpatch
Nice!!