Scratch Platformer Tutorial
Making a Platformer in Scratch can feel like a daunting task, but if you follow this tutorial, it can become easy. Today, we will be making a simple yet fun platformer game with moving platforms, obstacles, bouncy platforms, and much more.
I’ll be showing how to make a platformer game in Scratch. This means that you won’t have to do any coding to make it!
For every Scratcher, there is one time, one adventure, and one tutorial that makes it all come true. For you, that time is now, and that Tutorial is this.
Lets get into it:
Get LiamPJ’s stories in your inbox
Join Medium for free to get updates from this writer.
First, we’re going to want to delete the Scratch Cat sprite. We won’t need it.
Once you delete the Scratch Cat, press the paint button
Now it's time to let your creative talent flow and make something unique and awesome
Now we are going to make a ground for the player sprite to walk on. Call this sprite ground
Now before we get into the coding go into the player sprite and copy the main sprite
Then draw a box on the main sprite, then delete the sprite
Call this asset hitbox
Time for coding the sprite! First, make these variables
Then make these blocks!
Make sure every block you make is set to run without screen refresh
Then copy this code, and for costume, put whatever your idle costume number is (Idle refers to what sprite it is when no movment)
Now set up collision and movement
Now set up Horizontal x and vertical Y
Now if you made movment for your sprite your gonna wanna add this in
To set up movement (1 is hitbox) match your sprite's animations to these, and it will work flawlessly (if you dont wanna add animations just make one sprite and remove the Costume # variable)
All Blocks together
Now let's make the ability to move through scenes. Make sure you use the x blocks you see in image two whatever the x is as you see in image one is put it in the block you see in image 2
Make 2 messages
And put Scene + in the block
Now go to ground and put these
Now, back to the player sprite and do the same process for scene + but inverse change x by -555 +1 but for scene -
Now make sure the player can seamlessly move through scenes!
Now make a bunch of diffrent levels in the ground sprite
Then you've done it; it's a platformer! if you want more then ask in the comments also tell me some things you want to add into the platformer or ask if you need help with something. Thanks, see you later if i end up doing a part 2





