How can we fit entire 3D open world games on such small devices?

169 views

For example : you can play Minecraft on a device that fits in your hands and you don’t even need to have wifi connection to run it, it is a game that can create quadrillions of unique worlds larger than the earth’s surface.

In: 0

4 Answers

Anonymous 0 Comments

electronic storage is really optimized, from the hardware end, your phones capacity, to the software end, how the information is stored.

Anonymous 0 Comments

It is not downloaded. It is generated locally by your computer.

The worlds are generated in chuncks. And the chunks are based on a random seed. The same random seed will generate the same world every time.

Anonymous 0 Comments

A bunch of clever stuff goes into that! The entire world isn’t really there at one time. Only the area you’re in, and it will dynamically load the other areas when you get near. Reuse of assets and textures and stuff can make things way more efficient to store (e.g. storing one grass texture for every grass block in minecraft). Storage is just really optimized so you don’t have to save a lot of data to represent the state of the world; just enough to rebuild world when you need it

Anonymous 0 Comments

Minecraft is *procedurally generated*. The world does not exist if it isn’t loaded because you are in that section of it. Every time you load a section, the game uses the *seed* to rebuild that section based on a set of rules.

For example, the rules might say: start with bedrock here. If the seed value is X, put stone above it. If there are Y number of stone blocks within such and such distance, the next block should be magma. If there are such and such magma blocks, put diamond ore. If there are already diamond ore blocks within a distance, or Redstone instead. When it’s at least so high up, put dirt.

Every chunk is built like this, based on the seed. Since the seed stays the same, the world can be rebuilt to be exactly identical every time you load in. When you make changes to the world, the seed is changed to make sure the change you made appears the next time.

It’s like, instead of someone memorizing an entire story, you just give them a title and they invent the story as you go along based on that title. When you leave, the story is forgotten but you save the title. The next time you want that story, you give them the same title and they follow the same rules and end up creating that exact same story from scratch.