sampleorientToandTextures's Code

Created by: rodger

world

Events

When the world starts
Do:
world.my first method


Methods

  world.my first method ( )
    No variables
       // orient To example
  chicken set opacity to 0.2 (20%)
  chicken2 move to chicken
  chicken2 orient to chicken
  chicken2 say I'm the same direction as the other chicken
  chicken2 orient to cow
  chicken2 say I'm the same direction as the cow
  cow turn backward 0.25 revolutions
  chicken2 orient to cow
  // changing texture of object with different ground covers you import
  randomGuy2 set skin texture to ground.GrassTexture
  randomGuy2 set skin texture to randomGuy2.texture
  Wait 2 seconds
  ground set skin texture to world.waterTexture
  randomGuy2 set skin texture to world.waterTexture
  Wait 2 seconds
  ground set skin texture to world.dirtTexture
  randomGuy2 set skin texture to world.dirtTexture
  Wait 2 seconds
  ground set skin texture to world.sandTexture
  randomGuy2 set skin texture to world.sandTexture