Realms

The Realm is the biggest element in MV3D. For all general purposes, Realms are a collection of Areas and Objects. Generally speaking, a whole world could be implimented in a single realm, but it may be more helpful to think of a Realm as a continent. There will certainly be plenty of Areas in a realm and even more objects.

Realms have a single ID number that is unique throughout all of MV3D. Realms are in control of handing out IDs to all the Areas and Objects within them. These IDs should also be unique throughout all of MV3D. They should take the form of two numbers: (realmid, itemid).

Realms can also be responsible for determining which Areas need to interact physically with other nearby areas. They may define a sky or other similar distance objects. In addition, they are tasked with keeping track of day night cycles (if applicable), celestial bodies, and any other Realm wide properties.

Back to DesignDocument?.