Scratch 101: Creating a "Maze"

Hello and Welcome to Scratch 101! In this tutorial we will be creating a Maze.

The Finished Product:



Graphical Setup:
1.) After creating your project, delete the default sprite 
2.) Turn you backdrop color to black
3.) Using the paintbrush, add two new sprites
4.) Add a ball sprite/character into Sprite 2 

The Graphical Template can be found here: https://scratch.mit.edu/projects/131846395/#player

Scripts:

For Sprite1:



 Remember to combine these two! 


For Sprite2:


Common Mistakes!
Remember to combine the two pieces to form one piece!

If your game isn't working then your character may be to large. You need a character that fits in the width of the pathway.

After the map generates for the first time, then your character is given movement!

Make sure you typed in all of the numbers correctly!

If you are having a problem with regeneration, change the 240 in the last program to 220. 

Tips:
The duplication feature is useful! Make sure to utilize it! 


If you are interested in seeing the fully functional version to debug your code of play the game you will find it here https://scratch.mit.edu/projects/126684473/

No comments

Powered by Blogger.