 	playerScoreMessageText_.text = "";
 	optionsInfoText_.text = "";
 	gamePhaseCounter_ = 0.0f;
+	droneSpawnCounter_ = 0.0f;
 	playerScore_ = 0;
 	
-	CreatePlayer();
-	
-	//The following two lines come into play when restarting the game
-	healthFillSprite_.imageRect = IntRect(0, 0, 512, 64);
-	UpdateHealthTexture(1);
-	
+	SetSoundListener(cameraNode_);
+
 	PlayBackgroundMusic("Resources/Sounds/cyber_dance.ogg");
 	StartCounterToGame();
 }

	renderer.viewports[0] = Viewport(scene_, cameraNode_.GetComponent("Camera"));
}

void SetViewportCamera(Node@ cameraNode)
{
	renderer.viewports[0].camera = cameraNode.GetComponent("Camera");
}
void CreatePlayer()
{
	
	playerNode_ = scene_.CreateChild("PlayerNode");
	RigidBody@ playerBody  = playerNode_.CreateComponent("RigidBody");
	playerBody.SetCollisionLayerAndMask(PLAYER_COLLISION_LAYER, DRONE_COLLISION_LAYER);
	CollisionShape@ playerColShape = playerNode_.CreateComponent("CollisionShape");
	playerColShape.SetSphere(2);
	
	playerNode_.CreateScriptObject(scriptFile,"PlayerObject");
	
	playerDestroyed_ = false;

}

	}
}


void Fire()
{	
	SendEvent("ActivateWeapon");
