Starfish in a Hot Air Balloon

Here is a concept kit I made in Scratch to teach the use of conditionals with a loop and operator.  Here is a link to the puzzle, and here is a link to the solution

starfish_balloon_1.png

Starfish, naturally, would like to fly his hot air balloon.  As the programmer, your job is to create scripts that

   1. Make gravity slowly pull the balloon down until it hits the ground.  Since Starfish is in a balloon, we can forget acceleration. 

   2. Make the balloon go up if Starfish turns on the gas (spacebar), and then fall again if he lets go.  

   3. Show the Starfish's response to the action.  

This project went through a number of iterations.  I had some versions with all kinds of variables to calculate acceleration and create states for the Starfish, but I kept seeing if I could make things simpler.

 

 

 

Slides for Teaching "Forever If" in Scratch

Here is a slide show I made to explain the big idea behind "forever if" in Scratch 1.4.  My goal was to make a project that would illustrate these ideas with as little code as possible, as I had a number of students frustrated by this.   All the necessary bits can be seen on the last slide, which I kept up for the working period.  If you are on 2.0, the forever and if blocks are separate.  The keynote file has animations...(download)