fancyChickenWorld2's Code

Created by: Susan Rodger

world

Events

When the world starts
Do:
world.my first method


Methods

  world.my first method ( )
    No variables
       talentedChicken.jumpLikeCrazy
  talentedChicken.goAround objectToCircle = chicken
  talentedChicken.jump distance = 3


talentedChicken

Events

When S is typed
Do:
talentedChicken turn right 1 revolution


Methods

  talentedChicken.jump ( [123] distance)
    No variables
       talentedChicken move up distance meters duration = 0.25 seconds
  talentedChicken move down distance meters duration = 0.25 seconds


  talentedChicken.goAround ( [Obj] objectToCircle)
    No variables
       talentedChicken turn to face objectToCircle
  talentedChicken turn right 0.25 revolutions
  talentedChicken turn left 1 revolution asSeenBy = objectToCircle


  talentedChicken.jumpLikeCrazy ( )
    amount = 1
       amount set value to 0.25
  While ( amount < 6 )
       talentedChicken.jump distance = amount
  amount set value to ( ( amount + 0.2 ) )