Player Collisions + Wacky hitboxes! 🐱 Scratch RPG #8 @griffpatch
Player Collisions + Wacky hitboxes! 🐱 Scratch RPG #8  @griffpatch
Uploaded November 2022 | Updated September 2026, 3 weeks ago
Following on from defining our Collision Pins in episode 7, we now finally add the player collision code to make it real! These collision pins support both hairline edge collision boundaries, and half tile collisions!
We do some clever tricks to invert the hitboxes, support overlapping collision pin regions, and span tile layers! This is one crazy awesome episode, and I just know you are going to love it! Our Scratch RPG game is really shaping up!

Let's learn to code in Scratch with Griffpatch - Create your own fun Scratch game with these step by step instructions with friendly explanations.

πŸš€ *Boost Your Creativity with Griffpatch*
The Griffpatch Academy will take you from "Gamer to Game Creator"
Learn more at πŸ‘‰ https://griffpatch.academy πŸ‘ˆ

😺 Scratch was developed by the Lifelong Kindergarten Group at the MIT Media Lab. See http://scratch.mit.edu

πŸ‘€ Episodes in the series:
Ep.1 - Craft your dream Scratch Game - youtu.be/5lof-Nu1VVE
Ep.2 - Infinite Scrolling & Tiles - youtu.be/g8xsQx-XkYE
Ep.3 - I AM SPEED - youtu.be/uxIH0W4S6LY
Ep.4 - Build a LEVEL EDITOR in Scratch - youtu.be/nvB9chNNl2s
Ep.5 - Split Screen & Multi Tile Assets - youtu.be/dgMlWZEaPek
Ep.6 - Layers & Onion Skinning - youtu.be/wWjot1vJBf0
Ep.7 - Collisions Pins - youtu.be/xSt7aF8MNn8
Ep.8 - Player Collisions - youtu.be/ZvQ0Gv4I2Cc

🐱 Scratch Starter Projects with Assets - Remix this!
https://scratch.mit.edu/projects/725577493/

🐱 Scratch Studio for Your projects
https://scratch.mit.edu/studios/32038156/comments

--------------Video Chapters--------------
0:00 Intro
1:13 Try Move – Yes or No?
2:55 Split movement into two stages
5:10 Basic Tile Collisions
9:05 Differentiating Solid / Non solid tiles
10:39 Collisions across multiple layers of tiles
12:34 Detailed Pin Collisions
13:38 Calculating the first pin under the player
16:10 Colliding with our first pin
18:50 How to handle the overlapping pin regions
20:00 Coding pins 3 & 6
21:59 The top row of pins; 7 & 8
25:33 Outro
Player Collisions + Wacky hitboxes! 🐱 Scratch RPG #8Scratch Game Jam Backwards - The Best of June 2024 πŸ† Griffpatch AcademyCode a Platformer Game | 6. Vertical LevelsHow to Fix A Scratch Bug πŸ™ƒ - Classic Platformer Wall JumpHow to GET COLOR value at point | Scratch TutorialAppel Platformer | Scratch Game BlogTop Down Scroller | Part 5 | Youve Won!Awesome Number Counters πŸ’― | Exciting Scratch Game & How to TutorialsI want to be a Space Ship! 🐱 Geometry Dash #7 | Scratch TutorialScrolling Platformer Tutorial | Part 3 | Platform DetectionCode a Platformer Game | 7. SPIKES and LAVAPerfect Sprite Ordering in Scratch 🐱 | Backpack Depth Sort Tutorial
griffpatch |

Player Collisions + Wacky hitboxes! 🐱 Scratch RPG #8

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER