My-1st-alice

Created by DJF



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.

My alice World

Events

When the world starts
Do:
world.my first method


Methods

  world.my first method ( )
    No variables
       Do in order
       world.init
  world.exit and descend ladder
  world.walk to robot


  world.init ( )
    No variables
       Do in order
       moonSurface resize 2
  astronaut move right 1 meter 
  astronaut move left 1 meter 
  lunarLander.door move left 1 meter 
  astronaut turn to face camera
  astronaut.rightArm turn backward .45 revolutions  duration = 0.75 seconds 
  astronaut.rightArm turn forward 0.45 revolutions  duration = 0.5 seconds 


  world.exit and descend ladder ( )
    No variables
       Loop 2 times  times
       astronaut move forward 1 meter 
  astronaut move down 0.1 meters 
  astronaut move right 0.25 meters 
  astronaut turn left 0.5 revolutions 
  Loop 9 times  times
       world.down1step
  camera move backward 1 meter 
  astronaut turn left 0.25 revolutions 


  world.down1step ( )
    No variables
       Do together
       astronaut move left 0.05 meters 
  astronaut.leftLeg turn forward .1 revolutions 
  astronaut.rightLeg turn forward 0.1 revolutions 
  Do together
       astronaut move backward 0.3 meters 
  astronaut move down 0.4 meters  isScaledBySize = true
  astronaut.rightLeg turn backward 0.1 revolutions 
  astronaut.leftLeg turn backward 0.1 revolutions 
  world.walk to robot ( )
    No variables
       Do together
       astronaut move to hyperionRobot duration = 3 seconds 
  camera move amount = 10 meters  toward target = hyperionRobot duration = 3 seconds 
  camera move amount = 4 meters  toward target = hyperionRobot duration = 2 seconds