Quake takes place in a world where the government, after several years of research and development, develops a prototype that makes teleportation possible. However, this prototype is corrupted by an enemy, known as Quake, who uses the prototype to send his nightmarish creatures into the human dimension, preparing a possible invasion of Earth. The government sends a team of fighters through the portal to eliminate this threat. The player takes on the role of an anonymous soldier, the only survivor of the operation. From a still secure base, he can access, via portals, four dimensions controlled by the enemy. Each dimension allows the player to acquire one of the four magical runes of Shub-Niggurath, Quake's lieutenant in charge of invading the Earth. Collecting all four runes allows access to the dimension where the demon is hiding.