Download the 9 sprites and 4 scripts of "pinball" and open it in Scratch
Project Notes
This is my first Scratch project. It's a simple pinball simulation. The hardest problems to solve were:
* bouncing without 'sticking'
* getting a random but not useless beginning direction
* changing 'points' for touching objects
Bouncing was based on IF-touching-color. The problem was, moving away a set number of steps didn't mean the ball was not touching anymore. We figured out how to use the direction of motion to 'jump back' away from the touch. REPEAT UNTIL was very useful.
Randomizing direction was fun - we used a RANDOM 1 TO 2 to get go-left or go-right from a set range.
Changing points on a touch was pretty easy once we got the hang of variables.
Comments
You need to be logged in to post comments
Add a Comment
This is fun. You are a genius, oatmeal.
So addictive!