How To Setup Maps E-mail
Supplemental Object Documentation

1. Overview

The Map object is a Binary Spacing Partition format which provides the main building blocks of the environment.

2. Methods

 Load <file>

Load a bsp file.


Render the map.


Unload the map.

3. Properties

 Collision <position> <destination> <offset>

The collision object.

 Entities <long>

The number of entities.

 Entity <index>

The entity objects.

 Plane <index>

The surface plane objects.

 Planes <long>

The number of surface planes.

 Shader <shader>

The shader objects.

 Visible <position>

The property value which determines if a point of the map is visible from a specific location.

 Volume <volume>

The volume object.

4. Example

The following example is based upon the engine being initialized at which point a map is loaded, rendered, and a collision check is exercised.

' Game Basic 3D Engine Build 4096
' Copyright © Monarke Studios. All Rights Reserved.
Private Map As New GameBasic3D.Map
' Engine.Initialize
Map.Load "./.."
    ' Engine.Begin
    ' Engine.Synchronize
    ' Physics.Update
    ' Update the position relative to any surface
    Physics.Position = Map.Collision( _
    Physics.Position, _
    Physics.Destination, Offset).Destination
' Engine.End
Set Map = Nothing

5. Disclaimer 

Please note that the objects, and other various effects that can help extend the example are not entirely present but assume you're already familiar working with them. Please refer to the other online content, and technical reference included with the installation for further documentation.