|How To Setup Maps|
Supplemental Object Documentation
The Map object is a Binary Spacing Partition format which provides the main building blocks of the environment.
Load a bsp file.
Render the map.
Unload the map.
The collision object.
The number of entities.
The entity objects.
The surface plane objects.
The number of surface planes.
The shader objects.
The property value which determines if a point of the map is visible from a specific location.
The volume object.
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 "./.." Do ' Engine.Begin Map.Render ' Engine.Synchronize ' Physics.Update ' Update the position relative to any surface Physics.Position = Map.Collision( _ Physics.Position, _ Physics.Destination, Offset).Destination Loop Map.UnLoad ' Engine.End Set Map = Nothing
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.