Jaws

Created by Becca Hassain

You need to download Java software in order to view this Alice world. Please visit this page: http://www.alice.org/applet/requirements/

Created with Alice, the easy-to-learn programming system. Provided free as a public service by Carnegie Mellon University


If you don't see 3d graphics on this page, click for help.

Jaws's Code

Created by:

world

Events

When the world starts
Do:
world.my first method


Methods

  world.my first method ( )
    No variables
       camera move down ( ( 1 + 0.5 ) )
  lilfish move down 1 meter duration = 0.1 seconds
  ground play sound world.whoosh1 (0:00.313) duration = 0.25 seconds
  coach move down 0.5 meters
  scubaDiver move down 0.5 meters
  ground turn right 0.25 revolutions
  ground move up 0.5 meters
  ground play sound world.splash2 (0:00.734)
  scubaDiver turn to face coach
  coach play sound world.pop (0:00.313)
  coach say I can't swim duration = 2 seconds
  scubaDiver play sound world.drip (0:00.522)
  scubaDiver move down 0.5 meters
  scubaDiver say We have to swim to the shore
  scubaDiver say A shark is headed this direction
  scubaDiver turn forward 0.25 revolutions
  scubaDiver move forward 5 meters
  coach say wait duration = 0.5 seconds
  lilfish move amount = 2 meters away from target = shark
  Do together
       shark move up ( ( 0.25 - 0.25 ) )
  shark move amount = 10 meters toward target = ground3 asSeenBy = camera duration = 5.3 seconds
  seaplane move forward 25 meters ( ( 5 + ( ( 2 + 2 ) ) ) )
  coach turn to face shark
  Do together
       coach say Ahh!
  coach play sound world.scream_male (0:001.000)
  skaterGirl.swim
  shark move ( ( 2 + 1 ) ) toward target = coach
  skaterGirl move ( ( 2 + 2 ) ) toward target = lighthouse
  coach turn left 0.5 revolutions
  shark move ( ( 2 + 0.5 ) ) toward target = coach
  shark move up 0.75 meters
  coach.rightLeg move forward 0.1 meters
  coach.leftLeg move forward 0.1 meters
  shark move forward 0.5 meters
  lifeBoat move amount = 5 meters toward target = coach duration = 5 seconds
  coach turn to face lifeBoat duration = 1.5 seconds
  lifeBoat.lookoutPerson say get in!
  coach move amount = 15 meters toward target = lifeBoat
  lifeBoat move forward 10 meters asSeenBy = camera
  shark roll right 1 revolution
  shark move down 2 meters
  lifeBoat move forward 15 meters duration = 5 seconds
  The end move amount = 7 meters toward target = lifeBoat