text: 
  var spectate = false;
  
  // Babylon vars
  var canvas; 
  var engine; 
  var scene; 
  
  // P1's vars
  var camera;
  var trackingBox;
  
  // Meshes imported from Blender scene
  var importedMeshes;
  
  // lobby spotlight (sun)
  var light0;
  
  // Audio
  var lobbbyMusic;
  var footsteps;
  
  // Global lighting value
  //var gl = 0.00001;
  
  // Movement related vars
  var inclinedMeshes = [];
  var onInclinedSurface = false;
  var playerSpeed = 0.65;
  var gravity = -0.2;
  var playerIsMoving = false;
  var moveForward = false;
  var moveBack = false;
  var moveLeft = false;
  var moveRight = false;
  
  //Entry point
  document.addEventListener("DOMContentLoaded", function() {
  	initializeBabylon();
  	
  	if(!spectate){
  		setupCamera();
  		movementLogic();
  	}else{
  		spectateCamera();
  	}
  });
  