sceneChangeworld's Code

Created by: Susan Rodger

world

Events

When the world starts
Do:
world.my first method


Methods

  world.my first method ( )
    No variables
       Do together
       world.storeAtmosphereColor set value to world . atmosphereColor duration = 0 seconds
  world.storeAmbientLightColor set value to world . ambientLightColor duration = 0 seconds
  camera set point of view to scene1 duration = 0 seconds
  tortoise move to whiteRabbit duration = 0 seconds
  tortoise orient to whiteRabbit duration = 0 seconds
  tortoise move up .65 meters duration = 0 seconds
  ground set skin texture to ground.sandTexture duration = 0 seconds
  light set vehicle to tortoise
  world.scene1
  world.fadeOut
  Do together
       camera set point of view to scene2
  ground set skin texture to ground.waterTexture
  tortoise move to whiteRabbit2
  tortoise orient to whiteRabbit2
  // the move up fixes the tortoise since the white rabbit has a different center
  tortoise move up 0.65 meters duration = 0 seconds
  world.fadeIn atmosphere = atmosphere = world.storeAtmosphereColor
  world.scene2
  world.fadeOut
  Do together
       camera set point of view to scene3
  ground set skin texture to ground.moonTexture
  tortoise move to whiteRabbit3
  tortoise orient to whiteRabbit3
  // the move up fixes the tortoise since the white rabbit has a different center
  tortoise move up 0.65 meters duration = 0 seconds
  world.fadeIn black
  world.scene3
  world.fadeOut
  Do together
       camera set point of view to scene4
  ground set skin texture to ground.dirtTexture
  world.fadeIn red
  world.scene4


  world.fadeOut ( )
    No variables
       Do together
       world set atmosphereColor to black duration = 2 seconds
  world set ambientLightColor to black duration = 2 seconds
  light set brightness to 0 duration = 2 seconds


  world.fadeIn ( [Color] atmosphere)
    No variables
       Do together
       world set atmosphereColor to atmosphere
  world set ambientLightColor to world.storeAmbientLightColor
  light set brightness to 1


  world.scene1 ( )
    No variables
       tortoise say This is scene 1. Put whatever you want to happen in scene1 here. duration = 3 seconds


  world.scene2 ( )
    No variables
       tortoise say This is scene 2. Put whatever you want to happen in Scene 2 here duration = 3 seconds


  world.scene3 ( )
    No variables
       tortoise say This is scene 3. Put everything you want to happen in scene 3 here duration = 3 seconds


  world.scene4 ( )
    No variables
       // For scene 4, instead of having the tortoise appear immediately,
  // I put the "move to" code in the scene so you would see the tortoise move into the scene.
  // I also had the tortoise move to an invisible tortoise instead of a white rabbit
  // The white rabbit has a different center so the tortoise was moving into the ground
  tortoise move to tortoise2
  tortoise orient to tortoise2
  tortoise say This is scene 4. Put everything you want to happen in scene 4 here. duration = 3 seconds