In this episode of my Griffpatch's Tile Scrolling Platformer Expansion series, I show you how to add ON/OFF blocks to your game. ON/OFF blocks are a type of switch, which turns certain blocks solid or non-solid. These can be very useful for puzzles and platforming challenges, among other things.
Tile Scrolling Platformer Expansion playlist: https://www.youtube.com/playlist?list=PLEeMRpl6b1jEs7QAIGqeyEoKJnonyf9QS
Griffpatch's Tile Scrolling Platformer Tutorial: https://www.youtube.com/playlist?list=PLy4zsTUHwGJIc90UaTKd-wpIH12FCSoLh
My tile scrolling project on Scratch:
https://scratch.mit.edu/projects/582463946
Assets Project (Backpack costumes from here):
https://scratch.mit.edu/projects/679732697/
00:00 Introduction
00:20 Costumes
01:07 ON/OFF variable
01:53 New tiles
04:45 Animating and bumping tiles
11:30 Changing red/blue blocks' state
15:01 Resetting in editor
15:48 Outro