 
   plugins.loadOrderly()
   ## plugins are loaded from here on out ##
+
+
+
+  avatar = plugins.all.player
+  avatar.pov('first');
+  avatar.possess()
+  home(avatar)
 
   # load textures after all plugins loaded (since they may add their own)
   game.materials.load registry.getBlockPropsAll 'texture'

  #playerInventory.give new ItemPile('plankOak', 10)
  #playerInventory.give new ItemPile('logBirch', 5)
  #playerInventory.give new ItemPile('workbench', 1)
  #toolbar = createToolbar {el: '#tools'}
  #inventoryToolbar = plugins.load 'inventory-toolbar', {toolbar:toolbar, inventory:playerInventory, inventorySize:10, registry:registry}
  plugins.preload 'inventory-hotbar', {inventory:playerInventory, inventorySize:10}

  plugins.preload 'inventory-dialog', {playerInventory:playerInventory}


  # create the player from a minecraft skin file and tell the
  # game to use it as the main player
  plugins.preload 'player', {image: 'player.png'}

  plugins.preload 'fly', {flySpeed: 0.8}
  plugins.preload 'walk', {}
