Build units

From EDukeWiki
Revision as of 18:44, 2 December 2009 by Fox (talk | contribs)
Jump to navigation Jump to search

The Build engine has its own set of units termed, "Build Units."

Dimension

Build units expressed in terms of length, width, and height. "One build unit" is usually identified as the largest grid size in Build editor. This equal to 1024 in coordinates.

The height scale is different. An z coordinate is 16 times that of x-y coordinates. In other words, a wall with 1024 of length equal in height for a value of 16384.

"One build unit", also equal to the default (non-strecthed) size of an 64 pixels tile (i. e. paviment texture, ventilation duct texture, etc)

In real world proportions, "one build unit" is around 2 meters / 6 or 7 feets. That scale is beyond that of an standing human (Duke of babes characters) and the usual size for doors.

Degree

For orientation in the rotational direction, the Build engine uses a 2048-degree scale (as opposed to 360 degrees.)

This means that a 90 degree angle is equal to 512 build units. In relation to the direction a sprite/actor is facing, a value of 0 means the actor/sprite is facing due East. The numbering goes up clockwise until 2047 (just counterclockwise from facing due East.)

Time

Build unitsexpressed in time. One second is equal to 26 Build engine time units.