English (United Kingdom) Hebrew

World monkey_story

Contents


world

Events

When the world starts
Do:
world.main_method ( );
When the world starts
Do:
world.monkey_throws_tv_controller ( );
When the world starts
Do:
trevor.bounce ( what = remoteControl1 , whom = monkey.leftArm.forearm.hand , whom_body = monkey );

Methods

  main_method ( )
    
       # introduction: camera move, fade-out, fade-in
  world.intro ( );
  monkey.screech ( );
  # Trevor and sam enter into the stage
  world.trevor_enters ( );
  # trevor and sam come closer to the monkeys
  world.trevor_meets_monkeys ( );
  trevor.switch_looks ( obj1 = remoteControl1 , obj2 = monkey );
  # trevor gets the remote control to the monkey
  trevor.bounce ( what = remoteControl1 , whom = monkey.leftArm.forearm.hand , whom_body = monkey );
  # trevor and sam leave
  world.trevor_leaves ( );
  # monkey2 jumps to the armchair and watches TV
  world.monkey2_jumps_on_armchair ( );
  # First monkey throws the TV controller on monkey2
  world.monkey_throws_tv_controller ( );
  world.monkey2_escapes ( );
  # Kristen enters into the stage
  world.kristen_enters ( );
  # camera moves up, fade-out
  world.end ( );
  monkey2_jumps_on_armchair ( )
    
       wait( 0.5 seconds );
  monkey2.jumpTo ( what = armChair );
  wait( 0.25 seconds );
  monkey2 .turnToFace( tv );
  monkey2.head .pointAt( tv );
  monkey2.monkeyFace ( );
  trevor_enters ( )
    
    
  doTogether
       monkey.screech ( );
  trevor .walk( 2 );
  sam.walk ( distance = 2 );
  monkey .turnToFace( trevor );
  monkey2 .turnToFace( trevor );
  sam.jump ( );
  doTogether
       monkey.screech ( );
  monkey .turnToFace( trevor );
  monkey2 .turnToFace( trevor );
  trevor .turnToFace( monkey );
  trevor .lookAt( monkey );
  sam.be excited ( );
  sam.bark ( );
  sam.wagTail ( number of times = 2 );
  monkey_throws_tv_controller ( )
    
       # attach remoteControl to monkey left hand before start of throwing
  remoteControl1 .set_vehicle( monkey.leftArm.forearm.hand );
  doTogether
       monkey.leftArm .turn( BACKWARD , 0.125 revolutions ); duration = 0.5 seconds
  monkey.leftArm.forearm .turn( BACKWARD , 0.125 revolutions ); duration = 0.5 seconds
  remoteControl1 .set_vehicle( world );
  doTogether
       monkey.leftArm .turn( FORWARD , 0.125 revolutions ); duration = 0.25 seconds
  # detach remoteControl from monkey's hand
  remoteControl1 .moveToward( target = monkey2.head , ( ( ( remoteControl1 .distanceTo( monkey2.head ) ) - 0.3 ) ) ); duration = 1 second
  # now remoteControl heats monkey2 head
  doTogether
       monkey2.head .turn( BACKWARD , 0.125 revolutions );
  monkey2.screech ( );
  remoteControl1 .moveToward( target = sunflower2 , ( ( ( remoteControl1 .distanceTo( sunflower2 ) ) - 0.125 ) ) );
  monkey2_escapes ( )
    
       monkey2.head .turn( FORWARD , 0.125 revolutions ); duration = 0.25 seconds
  monkey2.jumpTo ( what = sunflower5 );
  monkey2.jumpTo ( what = sunflower3 );
  intro ( )
    
       camera .fadeToBlack();
  camera .showTitle(" A strange monkey tale in the wood... "); duration = 2 seconds
  camera .move( UP , 5.5 meters ); duration = 0.25 seconds
  camera .fadeUpFromBlack(); duration = 2 seconds
  camera .move( DOWN , 5.5 meters ); duration = 5.5 seconds
  end ( )
    
       camera .fadeToBlack(); duration = 2 seconds
  camera .showTitle(" and so it goes on and on :) "); duration = 3 seconds
  camera .showTitle(" The end "); duration = 3 seconds
  trevor_leaves ( )
    
    
  doTogether
       trevor .walkOffScreen();
  sam .turnToFace( trevor );
  sam.walk ( distance = 7 );
  trevor_meets_monkeys ( )
    
    
  doTogether
       trevor .walk( 1.5 );
  monkey.screech ( );
  monkey .turnToFace( trevor );
  monkey2 .turnToFace( trevor );
  sam .turnToFace( monkey );
  sam.wagTail ( number of times = 2 );
  sam.jump ( );
  sam.bark ( );
  doTogether
       monkey .turnToFace( trevor );
  monkey2 .turnToFace( trevor );
  kristen_enters ( )
    
       monkey .turnToFace( kristen );
  doTogether
       kristen .walk( 3 );
  monkey.screech ( );
  doTogether
       kristen .lookAt( monkey );
  camera .move( UP , 6 meters ); duration = 5 seconds
  monkey.screech ( );
  trevor_swich_looks ( )
    
    
  doInOrder
       trevor .lookAt( remoteControl1 ); duration = 1 second
  wait( 1 second );
  trevor .lookAt( monkey ); duration = 1 second
  wait( 1 second );
  trevor .lookAt( remoteControl1 ); duration = 1 second


monkey

Methods

  monkeyJump ( )
    
    
  doTogether
       monkey .move( DOWN , 0.22 meters ); duration = 0.5 seconds
  monkey.leftLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey.rightLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey.leftLeg.lowerLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey.rightLeg.lowerLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.5 seconds
  doTogether
       monkey .move( UP , 0.22 meters ); duration = 0.5 seconds
  monkey.leftLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey.rightLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey.leftLeg.lowerLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey.rightLeg.lowerLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.5 seconds
  doTogether
       monkey .turn( BACKWARD , 0.03 revolutions ); duration = 0.3 seconds
  monkey .move( UP , 0.5 meters ); duration = 0.3 seconds
  monkey.leftLeg.lowerLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.3 seconds
  monkey.rightLeg.lowerLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.3 seconds
  monkey.rightLeg.lowerLeg.foot .turn( FORWARD , 0.05 revolutions ); duration = 0.3 seconds
  monkey.leftLeg.lowerLeg.foot .turn( FORWARD , 0.05 revolutions ); duration = 0.3 seconds
  doTogether
       monkey .move( DOWN , 0.5 meters ); duration = 0.3 seconds
  monkey .turn( FORWARD , 0.03 revolutions ); duration = 0.3 seconds
  monkey.rightLeg.lowerLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.3 seconds
  monkey.leftLeg.lowerLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.3 seconds
  monkey.leftLeg.lowerLeg.foot .turn( BACKWARD , 0.05 revolutions ); duration = 0.3 seconds
  monkey.rightLeg.lowerLeg.foot .turn( BACKWARD , 0.05 revolutions ); duration = 0.3 seconds
  monkeyFace ( )
    
    
  doTogether
       monkey.head.rightBrow .move( UP , 0.03 meters ); duration = 0.5 seconds
  monkey.head.leftBrow .move( UP , 0.03 meters ); duration = 0.5 seconds
  monkey.head.jaw .turn( FORWARD , 0.05 revolutions ); duration = 0.25 seconds
  doTogether
    
  doInOrder
       monkey.head .turn( RIGHT , 0.05 revolutions ); duration = 0.25 seconds
  monkey.head .turn( LEFT , 0.1 revolutions ); duration = 0.25 seconds
  monkey.head .turn( RIGHT , 0.05 revolutions ); duration = 0.25 seconds
  monkey.head.jaw .turn( BACKWARD , 0.05 revolutions ); duration = 0.25 seconds
  doTogether
       monkey.head.leftBrow .move( DOWN , 0.03 meters );
  monkey.head.rightBrow .move( DOWN , 0.03 meters );
  sadMonkey ( )
    
       monkey.head .turn( FORWARD , 0.05 revolutions ); duration = 0.5 seconds
  monkey.head .turn( BACKWARD , 0.08 revolutions ); duration = 0.5 seconds
  doTogether
       monkey.head.rightBrow .move( UP , 0.03 meters ); duration = 0.25 seconds
  monkey.head.leftBrow .move( UP , 0.03 meters ); duration = 0.25 seconds
  doTogether
    
  doTogether
       monkey.leftArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.25 seconds
  monkey.leftArm .turn( RIGHT , 0.1 revolutions ); duration = 0.25 seconds
  monkey.leftArm.forearm .turn( FORWARD , 0.2 revolutions ); duration = 0.25 seconds
  monkey.leftArm .move( UP , 0.1 meters ); duration = 0.25 seconds
  monkey.leftArm.forearm.hand .turn( LEFT , 0.1 revolutions ); duration = 0.25 seconds
  doTogether
       monkey.rightArm .turn( BACKWARD , 0.15 revolutions ); duration = 0.25 seconds
  monkey.rightArm.forearm .turn( FORWARD , 0.2 revolutions ); duration = 0.25 seconds
  monkey.rightArm.forearm.hand .turn( RIGHT , 0.15 revolutions ); duration = 0.25 seconds
  monkey.rightArm .turn( LEFT , 0.06 revolutions ); duration = 0.25 seconds
  doTogether
       monkey.rightArm.forearm.hand .turn( BACKWARD , 0.25 revolutions ); duration = 0.25 seconds
  monkey.leftArm.forearm.hand .turn( BACKWARD , 0.25 revolutions ); duration = 0.25 seconds
  doTogether
       monkey.head.leftBrow .move( DOWN , 0.03 meters );
  monkey.head.rightBrow .move( DOWN , 0.03 meters );
  seizure ( )
    
       monkey.head .roll( LEFT , 0.125 revolutions );
  monkey.head .roll( RIGHT , 0.25 revolutions );
  monkey.head .turn( BACKWARD , 0.125 revolutions );
  monkey.head .turn( FORWARD , 0.25 revolutions );
  doTogether
       monkey .turn( FORWARD , 0.125 revolutions ); duration = 0.1 seconds
  loop 3 times times
       monkey.tail .turn( FORWARD , 0.05 revolutions );
  monkey.tail .turn( BACKWARD , 0.05 revolutions );
  screech ( )
    
    
  doTogether
       monkey .playSound( monkey.MonkeyScreech (0:05.351) ); duration = 2 seconds
  loop 2 times times
       monkey.monkeyFace ( );


trevor

Methods

  hug ( Object who)
    
       trevor .walkTo( who );
  doTogether
       trevor .moveToward( target = who , ( ( ( trevor .distanceTo( who ) ) - 0.5 ) ) ); duration = 1 second style = BEGIN_ABRUPTLY_AND_END_GENTLY
  trevor.upperTorso.lowerTorso.hips.rightUpperLeg .turn( FORWARD , .03 revolutions );
  trevor.upperTorso.lowerTorso.hips.rightUpperLeg.rightLowerLeg .turn( FORWARD , 0.03 revolutions );
  trevor.upperTorso.rightUpperArm .roll( LEFT , 0.15 revolutions );
  trevor.upperTorso.rightUpperArm.rightLowerArm .turn( BACKWARD , 0.25 revolutions );
  trevor.upperTorso.leftUpperArm .roll( RIGHT , 0.15 revolutions );
  trevor.upperTorso.leftUpperArm.leftLowerArm .turn( BACKWARD , 0.25 revolutions );
  wait( 3 seconds );
  doTogether
       trevor .move( BACKWARD , 0.5 meters ); style = BEGIN_AND_END_ABRUPTLY duration = 0.5 seconds
  trevor .standUp(); scoot forward = false
  shove ( Object who)
    
       trevor .walkTo( who );
  doTogether
       trevor .touch( trevor.upperTorso.rightUpperArm ); offset = 0.1 duration = .7 seconds
  trevor .touch( trevor.upperTorso.leftUpperArm ); offset = 0.1 limb = leftArm duration = 0.7 seconds
  doTogether
       trevor .touch( who ); offset = 0.1 duration = 0.25 seconds
  trevor .touch( who ); offset = 0.1 limb = leftArm duration = 0.25 seconds
  trevor .moveToward( target = who , ( ( ( trevor .distanceTo( who ) ) - 0.5 ) ) ); duration = 0.25 seconds style = BEGIN_ABRUPTLY_AND_END_GENTLY
  doInOrder
       wait( 0.1 seconds );
  who .move( BACKWARD , 0.5 meters ); style = BEGIN_ABRUPTLY_AND_END_GENTLY duration = 0.25 seconds
  trevor .standUp(); scoot forward = false
  cheer ( Number howManyTimes)
    
    
  loop howManyTimes times time
    
  doTogether
       trevor.upperTorso.rightUpperArm .roll( LEFT , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .roll( RIGHT , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso.hips.rightUpperLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso.hips.rightUpperLeg.rightLowerLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso.hips.leftUpperLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso.hips.leftUpperLeg.leftLowerLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.5 seconds
  trevor .move( DOWN , 0.15 meters ); duration = 0.5 seconds
  doTogether
       trevor .touch( trevor.upperTorso.neck.head.hat ); side = LEFT limb = leftArm duration = 0.25 seconds
  trevor.upperTorso.rightUpperArm .roll( RIGHT , 0.25 revolutions ); duration = 0.25 seconds
  trevor.upperTorso.rightUpperArm.rightLowerArm .turn( BACKWARD , .2 revolutions ); duration = 0.25 seconds
  trevor.upperTorso.lowerTorso.hips.rightUpperLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.25 seconds
  trevor.upperTorso.lowerTorso.hips.rightUpperLeg.rightLowerLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.25 seconds
  trevor.upperTorso.lowerTorso.hips.leftUpperLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.25 seconds
  trevor.upperTorso.lowerTorso.hips.leftUpperLeg.leftLowerLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.25 seconds
  trevor .move( UP , .75 meters ); duration = 0.25 seconds style = BEGIN_ABRUPTLY_AND_END_GENTLY
  trevor .move( DOWN , 0.5 meters ); duration = 0.25 seconds style = BEGIN_GENTLY_AND_END_ABRUPTLY
  trevor .standUp(); scoot forward = false duration = 0.25 seconds
  dance ( Number how many times)
    
    
  loop how many times times time
    
  doTogether
       trevor.upperTorso .turn( LEFT , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso .turn( FORWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso .turn( RIGHT , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso .turn( BACKWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.neck.head .turn( BACKWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm .turn( LEFT , .15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .turn( LEFT , .15 revolutions ); duration = 0.5 seconds
  wait( 0.25 seconds );
  doTogether
       trevor.upperTorso .turn( RIGHT , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso .turn( BACKWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso .turn( LEFT , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso .turn( FORWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.neck.head .turn( FORWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm .turn( FORWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm .turn( RIGHT , .15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm.rightLowerArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .turn( FORWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .turn( RIGHT , .15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm.leftLowerArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor .standUp(); scoot forward = false duration = 0.5 seconds
  doTogether
       trevor.upperTorso .turn( RIGHT , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso .turn( FORWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso .turn( LEFT , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso .turn( BACKWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.neck.head .turn( BACKWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm .turn( RIGHT , .15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .turn( RIGHT , .15 revolutions ); duration = 0.5 seconds
  wait( 0.25 seconds );
  doTogether
       trevor.upperTorso .turn( LEFT , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso .turn( BACKWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso .turn( RIGHT , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.lowerTorso .turn( FORWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.neck.head .turn( FORWARD , 0.1 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm .turn( FORWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm .turn( LEFT , .15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.rightUpperArm.rightLowerArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .turn( FORWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm .turn( LEFT , .15 revolutions ); duration = 0.5 seconds
  trevor.upperTorso.leftUpperArm.leftLowerArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.5 seconds
  trevor .standUp(); scoot forward = false duration = 0.5 seconds
  bounce ( Object what, Object whom, Object whom_body)
    
       trevor .lookAt( what );
  trevor .walkTo( what ); ( trevor .distanceTo( what ) ) spatialRelation = ABOVE
  whom_body .turn( FORWARD , 0.125 revolutions ); duration = 0.5 seconds
  doTogether
       trevor .kneel(); one knee = true duration = 0.25 seconds
  what .moveToward( target = whom , ( ( ( what .distanceTo( whom ) ) - 0.15 ) ) ); duration = 1 second style = BEGIN_GENTLY_AND_END_ABRUPTLY
  trevor .lookAt( whom );
  what .set_vehicle( whom );
  whom_body .turn( BACKWARD , 0.125 revolutions ); duration = 0.25 seconds
  what .set_vehicle( world );
  trevor .standUp(); duration = 0.25 seconds
  switch_looks ( Object obj1, Object obj2)
    
    
  doInOrder
       trevor .lookAt( obj1 ); duration = 1 second
  wait( 1 second );
  trevor .lookAt( obj2 ); duration = 1 second
  wait( 1 second );
  trevor .lookAt( obj1 ); duration = 1 second


sam

Methods

  sit ( )
    
    
  if( false )
     Do Nothing
  else
    sam.sitting = true
  doTogether
       sam.leftRearLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.25 seconds
  sam.rightRearLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.25 seconds
  sam .turn( BACKWARD , 0.05 revolutions ); duration = 0.25 seconds
  sam.head .turn( FORWARD , 0.15 revolutions ); duration = 0.25 seconds
  sam .move( DOWN , 0.03 meters ); duration = 0.25 seconds
  beg ( )
    
    
  doTogether
       sam.sit ( );
  loop 2 times times
    
  doTogether
       sam.leftFrontLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.righFrontLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.15 seconds
  doTogether
       sam.righFrontLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.leftFrontLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.15 seconds
  jump ( )
    
    
  doTogether
    
  doInOrder
       # move legs
  doTogether
       sam.leftFrontLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.righFrontLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.leftRearLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.rightRearLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.15 seconds
  doTogether
       sam.leftFrontLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.righFrontLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.leftRearLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.rightRearLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.15 seconds
  doInOrder
       sam .move( UP , 0.5 meters ); duration = 0.15 seconds
  wait( 0.001 seconds );
  sam .move( DOWN , 0.5 meters ); duration = 0.15 seconds
  sam .move( FORWARD , 1 meter ); duration = 0.3 seconds
  wagTail ( Number number of times)
    
       sam.tail .turn( LEFT , 0.1 revolutions ); duration = 0.1 seconds
  loop number of times times time
       sam.tail .turn( RIGHT , 0.1 revolutions ); duration = 0.1 seconds
  sam.tail .turn( LEFT , 0.1 revolutions ); duration = 0.1 seconds
  sam.tail .turn( RIGHT , 0.1 revolutions ); duration = 0.1 seconds
  shake_head_no ( )
    
       sam.head .turn( LEFT , 0.1 revolutions ); duration = 0.1 seconds
  loop 2 times times
       sam.head .turn( RIGHT , 0.2 revolutions ); duration = 0.1 seconds
  sam.head .turn( LEFT , 0.2 revolutions ); duration = 0.1 seconds
  sam.head .turn( RIGHT , 0.1 revolutions ); duration = 0.1 seconds
  bark ( )
    
    
  doTogether
    
  loop 3 times times
       sam.head.mouth .turn( FORWARD , 0.03 revolutions ); duration = .812/6 seconds
  sam.head.mouth .turn( BACKWARD , 0.03 revolutions ); duration = 0.135333 seconds
  sam .playSound( sam.dauschund (0:00.812) );
  hear_something ( )
    
    
  doTogether
       sam.head.leftEar .roll( RIGHT , 0.25 revolutions ); duration = 0.5 seconds
  sam.head.rightEar .roll( LEFT , 0.25 revolutions ); duration = 0.5 seconds
  loop 2 times times
    
  doTogether
       sam.head.leftEar .turn( LEFT , 0.2 revolutions ); duration = 0.25 seconds
  sam.head.rightEar .turn( RIGHT , 0.2 revolutions ); duration = 0.25 seconds
  doTogether
       sam.head.leftEar .turn( RIGHT , 0.2 revolutions ); duration = 0.25 seconds
  sam.head.rightEar .turn( LEFT , 0.2 revolutions ); duration = 0.25 seconds
  doTogether
       sam.bark ( );
  sam.head.leftEar .roll( LEFT , 0.25 revolutions ); duration = 0.5 seconds
  sam.head.rightEar .roll( RIGHT , 0.25 revolutions ); duration = 0.5 seconds
  be_excited ( )
    
    
  loop 2 times times
    
  doTogether
       sam .move( UP , 0.1 meters ); duration = 0.1 seconds
  sam.head .turn( LEFT , 0.15 revolutions ); duration = 0.15 seconds
  sam.leftFrontLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.righFrontLeg .turn( BACKWARD , 0.15 revolutions ); duration = 0.15 seconds
  doTogether
       sam .move( DOWN , 0.1 meters ); duration = 0.1 seconds
  sam.head .turn( RIGHT , 0.15 revolutions ); duration = 0.15 seconds
  sam.righFrontLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.15 seconds
  sam.leftFrontLeg .turn( FORWARD , 0.15 revolutions ); duration = 0.15 seconds
  fight ( )
    
    
  doTogether
    
  doInOrder
    
  doTogether
       sam .move( UP , 1 meter ); duration = 0.5 seconds
  sam .turn( RIGHT , 3.5 revolutions ); duration = 0.5 seconds
  wait( 0.2 seconds );
  doTogether
       sam .move( DOWN , 1 meter ); duration = 0.5 seconds
  sam .turn( RIGHT , 1.5 revolutions ); duration = 0.5 seconds
  sam .playSound( sam.growl4 (0:01.413) );
  loop 2 times times
       sam.shake head no ( );
  sam.wagTail ( number of times = 12 );
  walk ( Number distance)
    
       sam.leftFrontLeg .turn( FORWARD , 0.05 revolutions ); duration = 0 seconds
  sam.leftRearLeg .turn( FORWARD , 0.05 revolutions ); duration = 0 seconds
  loop ( ( distance * 3.33 ) ) times
    
  doTogether
       sam.leftFrontLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.1 seconds
  sam.leftRearLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.1 seconds
  sam.righFrontLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.1 seconds
  sam.rightRearLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.1 seconds
  sam .move( FORWARD , 0.15 meters ); duration = 0.25 seconds
  doTogether
       sam.leftFrontLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.1 seconds
  sam.leftRearLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.1 seconds
  sam.righFrontLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.1 seconds
  sam.rightRearLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.1 seconds
  sam .move( FORWARD , 0.15 meters ); duration = 0.25 seconds


monkey2

Methods

  monkeyJump ( )
    
    
  doTogether
       monkey2 .move( DOWN , 0.22 meters ); duration = 0.5 seconds
  monkey2.leftLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey2.rightLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey2.leftLeg.lowerLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey2.rightLeg.lowerLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.5 seconds
  doTogether
       monkey2 .move( UP , 0.22 meters ); duration = 0.5 seconds
  monkey2.leftLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey2.rightLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey2.leftLeg.lowerLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.5 seconds
  monkey2.rightLeg.lowerLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.5 seconds
  doTogether
       monkey2 .turn( BACKWARD , 0.03 revolutions ); duration = 0.3 seconds
  monkey2 .move( UP , 0.5 meters ); duration = 0.3 seconds
  monkey2.leftLeg.lowerLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.3 seconds
  monkey2.rightLeg.lowerLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.3 seconds
  monkey2.rightLeg.lowerLeg.foot .turn( FORWARD , 0.05 revolutions ); duration = 0.3 seconds
  monkey2.leftLeg.lowerLeg.foot .turn( FORWARD , 0.05 revolutions ); duration = 0.3 seconds
  doTogether
       monkey2 .move( DOWN , 0.5 meters ); duration = 0.3 seconds
  monkey2 .turn( FORWARD , 0.03 revolutions ); duration = 0.3 seconds
  monkey2.rightLeg.lowerLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.3 seconds
  monkey2.leftLeg.lowerLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.3 seconds
  monkey2.leftLeg.lowerLeg.foot .turn( BACKWARD , 0.05 revolutions ); duration = 0.3 seconds
  monkey2.rightLeg.lowerLeg.foot .turn( BACKWARD , 0.05 revolutions ); duration = 0.3 seconds
  monkeyFace ( )
    
    
  doTogether
       monkey2.head.rightBrow .move( UP , 0.03 meters ); duration = 0.5 seconds
  monkey2.head.leftBrow .move( UP , 0.03 meters ); duration = 0.5 seconds
  monkey2.head.jaw .turn( FORWARD , 0.05 revolutions ); duration = 0.25 seconds
  doTogether
    
  doInOrder
       monkey2.head .turn( RIGHT , 0.05 revolutions ); duration = 0.25 seconds
  monkey2.head .turn( LEFT , 0.1 revolutions ); duration = 0.25 seconds
  monkey2.head .turn( RIGHT , 0.05 revolutions ); duration = 0.25 seconds
  monkey2.head.jaw .turn( BACKWARD , 0.05 revolutions ); duration = 0.25 seconds
  doTogether
       monkey2.head.leftBrow .move( DOWN , 0.03 meters );
  monkey2.head.rightBrow .move( DOWN , 0.03 meters );
  sadMonkey ( )
    
       monkey2.head .turn( FORWARD , 0.05 revolutions ); duration = 0.5 seconds
  monkey2.head .turn( BACKWARD , 0.08 revolutions ); duration = 0.5 seconds
  doTogether
       monkey2.head.rightBrow .move( UP , 0.03 meters ); duration = 0.25 seconds
  monkey2.head.leftBrow .move( UP , 0.03 meters ); duration = 0.25 seconds
  doTogether
    
  doTogether
       monkey2.leftArm .turn( BACKWARD , 0.25 revolutions ); duration = 0.25 seconds
  monkey2.leftArm .turn( RIGHT , 0.1 revolutions ); duration = 0.25 seconds
  monkey2.leftArm.forearm .turn( FORWARD , 0.2 revolutions ); duration = 0.25 seconds
  monkey2.leftArm .move( UP , 0.1 meters ); duration = 0.25 seconds
  monkey2.leftArm.forearm.hand .turn( LEFT , 0.1 revolutions ); duration = 0.25 seconds
  doTogether
       monkey2.rightArm .turn( BACKWARD , 0.15 revolutions ); duration = 0.25 seconds
  monkey2.rightArm.forearm .turn( FORWARD , 0.2 revolutions ); duration = 0.25 seconds
  monkey2.rightArm.forearm.hand .turn( RIGHT , 0.15 revolutions ); duration = 0.25 seconds
  monkey2.rightArm .turn( LEFT , 0.06 revolutions ); duration = 0.25 seconds
  doTogether
       monkey2.rightArm.forearm.hand .turn( BACKWARD , 0.25 revolutions ); duration = 0.25 seconds
  monkey2.leftArm.forearm.hand .turn( BACKWARD , 0.25 revolutions ); duration = 0.25 seconds
  doTogether
       monkey2.head.leftBrow .move( DOWN , 0.03 meters );
  monkey2.head.rightBrow .move( DOWN , 0.03 meters );
  seizure ( )
    
       monkey2.head .roll( LEFT , 0.125 revolutions );
  monkey2.head .roll( RIGHT , 0.25 revolutions );
  monkey2.head .turn( BACKWARD , 0.125 revolutions );
  monkey2.head .turn( FORWARD , 0.25 revolutions );
  doTogether
       monkey2 .turn( FORWARD , 0.125 revolutions ); duration = 0.1 seconds
  loop 3 times times
       monkey2.tail .turn( FORWARD , 0.05 revolutions );
  monkey2.tail .turn( BACKWARD , 0.05 revolutions );
  screech ( )
    
    
  doTogether
       monkey2 .playSound( monkey.MonkeyScreech (0:05.351) ); duration = 2 seconds
  loop 2 times times
       monkey2.monkeyFace ( );
  jumpTo ( Object what)
    
       monkey2 .turnToFace( what ); duration = 0.25 seconds
  doTogether
    
  doTogether
       monkey2 .move( DOWN , 0.22 meters ); duration = 0.25 seconds
  monkey2.leftLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.25 seconds
  monkey2.rightLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.25 seconds
  monkey2.leftLeg.lowerLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.25 seconds
  monkey2.rightLeg.lowerLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.25 seconds
  doTogether
       monkey2 .move( UP , 0.22 meters ); duration = 0.25 seconds
  monkey2.leftLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.25 seconds
  monkey2.rightLeg .turn( FORWARD , 0.03 revolutions ); duration = 0.25 seconds
  monkey2.leftLeg.lowerLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.25 seconds
  monkey2.rightLeg.lowerLeg .turn( BACKWARD , 0.03 revolutions ); duration = 0.25 seconds
  doTogether
    
  doTogether
       monkey2 .turn( BACKWARD , 0.03 revolutions ); duration = 0.3 seconds
  monkey2 .move( UP , 0.5 meters ); duration = 0.3 seconds
  monkey2.leftLeg.lowerLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.25 seconds
  monkey2.rightLeg.lowerLeg .turn( FORWARD , 0.1 revolutions ); duration = 0.25 seconds
  monkey2.rightLeg.lowerLeg.foot .turn( FORWARD , 0.05 revolutions ); duration = 0.25 seconds
  monkey2.leftLeg.lowerLeg.foot .turn( FORWARD , 0.05 revolutions ); duration = 0.25 seconds
  monkey2 .moveToward( target = what , ( ( ( monkey2 .distanceTo( what ) ) - 0.07 ) ) ); duration = 0.75 seconds
  doTogether
       monkey2 .move( DOWN , 0.5 meters ); duration = 0.3 seconds
  monkey2 .turn( FORWARD , 0.03 revolutions ); duration = 0.3 seconds
  monkey2.rightLeg.lowerLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.25 seconds
  monkey2.leftLeg.lowerLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.25 seconds
  monkey2.leftLeg.lowerLeg.foot .turn( BACKWARD , 0.05 revolutions ); duration = 0.25 seconds
  monkey2.rightLeg.lowerLeg.foot .turn( BACKWARD , 0.05 revolutions ); duration = 0.25 seconds


kristen

Methods

  kiss ( Object who)
    
       kristen .walkTo( who );
  doTogether
       kristen.hips.leftUpperLeg .turn( FORWARD , 0.03 revolutions );
  kristen.hips.rightUpperLeg .turn( FORWARD , 0.03 revolutions );
  kristen.hips.stomach.torso.rightUpperArm .turn( BACKWARD , 0.1 revolutions );
  kristen.hips.stomach.torso.leftUpperArm .turn( BACKWARD , 0.1 revolutions );
  kristen.hips.stomach.torso.rightUpperArm.rightLowerArm .turn( BACKWARD , 0.03 revolutions );
  kristen.hips.stomach.torso.leftUpperArm.leftLowerArm .turn( BACKWARD , 0.03 revolutions );
  kristen.hips.stomach.torso.neck.head .roll( RIGHT , 0.1 revolutions );
  kristen .moveToward( target = who , ( ( ( kristen .distanceTo( who ) ) - 0.38 ) ) ); duration = 0.7 seconds
  doTogether
       kristen.hips.rightUpperLeg .turn( FORWARD , .02 revolutions ); duration = 1 second style = BEGIN_AND_END_GENTLY
  kristen.hips.rightUpperLeg.rightLowerLeg .turn( FORWARD , .2 revolutions ); duration = 1 second style = BEGIN_AND_END_GENTLY
  wait( 1.5 seconds );
  kristen .standUp(); scoot forward = false
  kristen .move( BACKWARD , .75 meters ); style = BEGIN_AND_END_ABRUPTLY duration = 0.75 seconds
  cheer ( Number numberOfTimes)
    
    
  loop numberOfTimes times time
    
  doTogether
       kristen .move( UP , 1/4 meters ); duration = .3 seconds style = BEGIN_ABRUPTLY_AND_END_GENTLY
  kristen.hips.leftUpperLeg .turn( BACKWARD , 0.1 revolutions ); duration = .3 seconds
  kristen.hips.rightUpperLeg .turn( BACKWARD , 0.1 revolutions ); duration = 0.3 seconds
  kristen.hips.leftUpperLeg.leftLowerLeg .turn( FORWARD , 0.25 revolutions ); duration = 0.3 seconds
  kristen.hips.rightUpperLeg.rightLowerLeg .turn( FORWARD , 0.25 revolutions ); duration = 0.3 seconds
  kristen .touch( kristen.hips.stomach.torso.neck.head.rightEar ); offset = 0.25 duration = 0.3 seconds
  kristen .touch( kristen.hips.stomach.torso.neck.head.leftEar ); limb = leftArm offset = 0.25 duration = 0.3 seconds
  doTogether
       kristen .move( DOWN , 0.25 meters ); duration = 0.3 seconds style = BEGIN_GENTLY_AND_END_ABRUPTLY
  doInOrder
       wait( 0.25 seconds );
  kristen .standUp(); duration = 0.25 seconds
  slap ( Object who)
    
       kristen .walkTo( who ); amount = 0.03
  kristen .touch( who ); side = UP
  wait( 0.1 seconds );
  doTogether
       kristen.hips.stomach.torso.rightUpperArm .roll( RIGHT , .08 revolutions ); duration = 0.25 seconds style = BEGIN_AND_END_ABRUPTLY
  kristen.hips.stomach.torso .turn( LEFT , 0.15 revolutions ); duration = 0.25 seconds style = BEGIN_AND_END_ABRUPTLY
  kristen.hips.stomach.torso.neck .turn( RIGHT , 0.15 revolutions ); duration = 0.25 seconds style = BEGIN_AND_END_ABRUPTLY
  who .turn( RIGHT , 0.15 revolutions ); style = BEGIN_AND_END_ABRUPTLY duration = 0.25 seconds
  wait( 0.5 seconds );
  kristen .move( BACKWARD , 0.5 meters ); style = BEGIN_AND_END_ABRUPTLY duration = 0.5 seconds
  doTogether
       who .turn( LEFT , 0.15 revolutions ); style = BEGIN_AND_END_GENTLY duration = 1 second
  kristen .standUp(); scoot forward = false
  plead ( )
    
    
  doTogether
       kristen .touch( kristen.hips.stomach );
  kristen .touch( kristen.hips.stomach ); limb = leftArm
  kristen.hips.stomach.torso.neck.head .roll( RIGHT , 0.1 revolutions );
  wait( 1 second );
  kristen .standUp(); scoot forward = false