Coding Platformer Enemies | 11. Scratch Platformer Tutorial
535,236
Published 2021-12-30
Jump on their heads to squash them and continue on your quest!
We also add safe zones to allow for guided patrolling, and learn about the danger of placing enemies too near the edge of a scene where the player might unfairly lose a life.
My tutorials are for all budding game & software developers using Code Blocks. Scratch On guys!
š± Scratch Studio (post project here) - scratch.mit.edu/studios/30847631/
š„ Wall Jumping Bug Fix - Ā Ā Ā ā¢Ā HowĀ toĀ FixĀ AĀ ScratchĀ BugĀ šĀ -Ā ClassicĀ ...Ā Ā
š Next Episode #12 - Ā Ā Ā ā¢Ā FunĀ withĀ RotatingĀ PlatformsĀ |Ā 12.Ā Scr...Ā Ā
š First Episode - Ā Ā Ā ā¢Ā CodeĀ aĀ PlatformerĀ GameĀ |Ā 1.Ā TheĀ BasicsĀ Ā
š Playlist - Ā Ā Ā ā¢Ā CodeĀ aĀ PlatformerĀ GameĀ Ā
š 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 Addons - scratchaddons.com/
š¹ Video Editing Software - techsmith.z6rjha.net/5bajbo
-------------Video Chapters-------------
0:00 Intro
0:44 Red Enemy
3:19 Positioning and Spawning Enemy Clones
6:05 De-spawning Enemy Clones
7:36 Enemy Gravity ā Move Down
9:59 Enemy Movement ā Left and Right
11:38 Enemies on slopes
13:48 Animation
16:48 Enemy Collisions ā Lose a Life
19:37 Jump on an Enemies Head
22:29 Improved Enemy Spawning
26:37 Safe Zones
29:07 Door problem
31:03
All Comments (21)
-
This series is helping me out a ton, because I'm making a platformer in Pocket Code,so most things also work on it.
-
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'!?
-
Nice!:goodvibes: Loving all of these episodes!
-
Thank you thank you!. I waited for a long time for this video . This is a very exciting video š±.
-
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:_thonk:
-
Finally! I wanted a tutorial on enemies.
-
Wow! So awesome! I was waiting for this.
-
100k finally! Congratulations, your tutorials are great!
-
I was waiting for this tutorial for years, and finally got it. Thanks griffpatch
-
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!
-
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!
-
21:53 ( look at the āOkā button when the Player - Bounce is right about to be added.) Thx for the tutorials!
-
I was waiting for that episode more than Santa's gifts :_lol::_lol: Thank you Griffpatch for making it so simple to understand that's the most important thing. Till next episode š
-
I honestly can't believe that this series got so far. Love you Griffpatch
-
Loveee the tutorials man, helps a ton ā¤ļø
-
An episode we have always been waiting for
-
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āve been waiting for this for so long, I decided to create a combat mode for it!
-
Happy 100k subs! What a great start to the new year!
-
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