MoonMen

Created by Janessa

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.

MoonMen's Code

Created by:

world

Events

When the world starts
Do:
world.my first method


When any key is typed
Do:
  Loop infinity times times
       world play sound world.MoonJamz (0:08.182)


Methods

  world.my first method ( )
    No variables
       Do together
       Hank.walk SetWalkTime = 0.5
  Hank move forward 3.5 meters
  Hank turn right 0.25 revolutions
  Do together
       Hank.walk SetWalkTime = 0.25
  Hank move forward 1 meter
  Hank.grab lever
  Hank turn left 0.5 revolutions
  Do together
       Hank.walk SetWalkTime = 0.25
  Hank move forward 1 meter
  Hank turn left 0.25 revolutions
  Do together
       Hank.walk SetWalkTime = 0.5
  Hank move forward 3.5 meters
  Hank turn right 0.5 revolutions
  Loop 2 times times
       Do together
       stageSpotLight2 turn forward 0.11 revolutions
  stageSpotLight3 turn backward 0.11 revolutions
  stageSpotLight turn backward 0.11 revolutions
  Do together
       stageSpotLight2 turn backward 0.22 revolutions
  stageSpotLight3 turn forward 0.22 revolutions
  stageSpotLight turn forward 0.22 revolutions
  Do together
       stageSpotLight2 turn left 0.25 revolutions
  stageSpotLight3 turn right 0.25 revolutions
  stageSpotLight turn right 0.25 revolutions
  Do together
       stageSpotLight2 turn right 0.25 revolutions
  stageSpotLight3 turn left 0.25 revolutions
  stageSpotLight turn left 0.25 revolutions
  Do together
       pyramid turn right 2 revolutions
  pyramid resize 0.5
  Do together
       pyramid turn left 2 revolutions
  pyramid resize 2
  astronaut move up 0.5 meters
  Loop 2 times times
       Do together
       astronaut move down 0.5 meters
  astronaut2 move up 0.5 meters
  Do together
       astronaut2 move down 0.5 meters
  astronaut move up 0.5 meters
  astronaut move down 0.5 meters
  Do together
       astronaut.leftArm turn right 0.25 revolutions
  astronaut2.leftArm turn right 0.25 revolutions
  Hank.UpperBody.Chest.LeftUpperArm turn right 0.25 revolutions
  Do together
       astronaut.leftArm turn left 0.25 revolutions
  astronaut2.leftArm turn left 0.25 revolutions
  Hank.UpperBody.Chest.LeftUpperArm turn left 0.25 revolutions
  Do together
       astronaut.rightArm turn right 0.25 revolutions
  astronaut2.rightArm turn right 0.25 revolutions
  Hank.UpperBody.Chest.RightUpperArm turn right 0.25 revolutions
  Do together
       astronaut.rightArm turn left 0.25 revolutions
  astronaut2.rightArm turn left 0.25 revolutions
  Hank.UpperBody.Chest.RightUpperArm turn left 0.25 revolutions
  Do together
       astronaut.leftLeg turn left 0.25 revolutions
  astronaut2.leftLeg turn left 0.25 revolutions
  Hank.LowerBody.LeftThigh turn left 0.25 revolutions
  Hank.LowerBody.LeftThigh.LeftShin turn left 0.25 revolutions
  Do together
       astronaut.leftLeg turn right 0.25 revolutions
  astronaut2.leftLeg turn right 0.25 revolutions
  Hank.LowerBody.LeftThigh turn right 0.25 revolutions
  Hank.LowerBody.LeftThigh.LeftShin turn right 0.25 revolutions
  Do together
       astronaut.rightLeg turn right 0.25 revolutions
  astronaut2.rightLeg turn right 0.25 revolutions
  Hank.LowerBody.RightThigh turn right 0.25 revolutions
  Hank.LowerBody.RightThigh.RightShin turn right 0.25 revolutions
  Do together
       astronaut.rightLeg turn left 0.25 revolutions
  astronaut2.rightLeg turn left 0.25 revolutions
  Hank.LowerBody.RightThigh turn left 0.25 revolutions
  Hank.LowerBody.RightThigh.RightShin turn left 0.25 revolutions
  Loop 4 times times
       Do together
       Hank.walk SetWalkTime = 0.09
  Hank move right 0.25 meters
  astronaut move right 0.25 meters
  astronaut2 move right 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.09
  Hank move right 0.25 meters
  astronaut move right 0.25 meters
  astronaut2 move right 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.09
  Hank move left 0.25 meters
  astronaut move left 0.25 meters
  astronaut2 move left 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.09
  Hank move left 0.25 meters
  astronaut move left 0.25 meters
  astronaut2 move left 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.02
  Hank move backward 0.25 meters
  astronaut move backward 0.25 meters
  astronaut2 move backward 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.02
  Hank move backward 0.25 meters
  astronaut move backward 0.25 meters
  astronaut2 move backward 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.02
  Hank move backward 0.25 meters
  astronaut move backward 0.25 meters
  astronaut2 move backward 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.02
  Hank move backward 0.25 meters
  astronaut move backward 0.25 meters
  astronaut2 move backward 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.02
  Hank move forward 0.25 meters
  Hank.UpperBody turn forward 0.25 revolutions
  astronaut move forward 0.25 meters
  astronaut2 move forward 0.25 meters
  Do together
       Hank.walk SetWalkTime = 0.02
  Hank move backward 0.25 meters
  Hank.UpperBody turn backward 0.25 revolutions
  astronaut move backward 0.25 meters
  astronaut2 move backward 0.25 meters
  Do together
       Hank turn left 0.25 revolutions
  astronaut turn left 0.25 revolutions
  astronaut2 turn left 0.25 revolutions