Visit the Scratch Starter Projects page. You will be working with the Pong Starter and Maze Starter games in this challenge, but you can always explore more on your own! There are some really cool projects in there!
Make sure to login to the Scratch site. You can use a personal login, or our shared STEM Scholar account. Do this before remixing the projects below.
The key to completing the steps below is to ask HOW QUESTIONS. You'll see that some how questions are provided in each step for you. Answering how something works will help you change an existing behavior or add a new one.
Each time you ask a how question write out the steps of your answer. For example, let's consider how a MaKey MaKey works:
Now that I know "how", I can use this knowledge to build an interactive holiday card or a controller.
A maze might seem like a simple game, but looks can be deceiving! The goal of this game is to move a ball (sprite) through a maze (backdrop) of blue walls (obstacles). When your ball hits a wall, it bounces back.
The Scratch code uses the color of regions in the
backdropto determine when the
spriteis touching the wall, or the goal. How does it "bounce" the ball back? Can you use this
eventto keep score?
backdropto add additional obstacles, markers, or make the course more difficult to navigate;
variable: subtract points for hitting the walls or add points for passing markers;
backdropsand add a script to change them so that there are additional levels when someone wins;
Pong! It's a classic. It's also using more or less the same logic as the Maze to bounce the ball. This time, there are two sprites, the paddle and the ball. One is being moved by the mouse and the other moves on it's own.
This time the code keeps track of when the two
sprites touchas well as when the ball interacts with a color in the
backdrop. How does this code keep the ball moving? How does it determine the bounce?
variableto keep track of and display a score every time the ball touches the paddle;
Make sure you update your Project Portfolio with your remixes. Can you figure out how to
embed a Scratch project into a web page using
Once you've finished your code and switched to the project page, look for the
Embedbutton below your project screen.
The code you are looking for should look something like this:
<iframe allowtransparency="true" width="485" height="402" src="//scratch.mit.edu/projects/embed/25331943/?autostart=false" frameborder="0" allowfullscreen> </iframe>