Collision Pins? 💥📌 Now that's clever! 🐱 Scratch RPG #7

https://www.youtube.com/watc...
Collision Pins are an excitingly easy solution to the complex problem of collision detection in tile based games with tiles of different shapes. In this episode of the Scratch RPG tutorial coding series we look at how this works, how we can store the collision "metadata" in lists, and how to extend out level editor to include the editing of the collison pin meta data itself to speed things 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. ⭐ Early Access and more - Join the channel membership: https://www.youtube.com/channel/UCawsI_mlmPA7Cfld-qZhBQA/join 👀 Episodes in the series: Ep.1 - Craft your dream Scratch Game - https://youtu.be/5lof-Nu1VVE Ep.2 - Infinite Scrolling & Tiles - https://youtu.be/g8xsQx-XkYE Ep.3 - I AM SPEED - https://youtu.be/uxIH0W4S6LY Ep.4 - Build a LEVEL EDITOR in Scratch - https://youtu.be/nvB9chNNl2s Ep.5 - Split Screen & Multi Tile Assets - https://youtu.be/dgMlWZEaPek Ep.6 - Layers & Onion Skinning - https://youtu.be/wWjot1vJBf0 Ep.7 - Collisions Pins - https://youtu.be/xSt7aF8MNn8 Ep.8 - Player Collisions - https://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 2:05 The Tile Collision List 3:15 Toggle Palette Metadata editor 4:22 Painting a Collision Pin 6:27 Expanding to 9 pins per tile costume 8:44 Defining a Collision Pin String 12:05 Drawing from the TILE PIN List 13:30 Toggling Collision Pins right in the editor 15:51 Populate the TILE PINS list ready for updating 17:13 Changing one letter of a value in a variable 18:04 Splitting a string into a list of letters 19:46 Converting a list back to a single value – A clever trick 20:29 Changing one letter of a value in a variable 22:18 Testing that all out 23:26 Fixing Duplicate Key binding 24:14 Defining the collision pins – Outro
Fun Scratch Coding Tutorials for beginners, educators and advanced coders alike, we have something for everyone. Learn how to make exciting games like platformers, scrollers, space shooters, super mario, physics games, pathfinding, and tile grids with lists. And, while we play, we learn all the coding basics, and get a true understanding of how coding works through experience. Scratch Programming is a Block Coding language. A popular and modern approach to programming, and a fantastic place to begin learning to code. I'm griffpatch, (Creator of Paper Minecraft & Geometry Dash on Scratch). I Got hooked on coding when I was kid, now I'm a parent and nothing's changed! #ScratchGames #BlockCoding #ScratchTutorials #ScratchTutorial #ScratchProgramming #gamedev
Subscribers
Patreon
https://www.patreon.com/griffpatch
patrons
16,00 € per month