Build units: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Basic information on build units. Checking needed.
 
Fox (talk | contribs)
No edit summary
Line 1: Line 1:
The Build engine has its own set of units termed, "Build Units."
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.)
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.)
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.)


Build units are also expressed in terms of length, width, and height. One build unit is said equal to about 0.83 inches, or about 2.1 cm.  The validity of this claim is, as of yet, unknown.
==Time==


Another way that Build units can be expressed is with time. One second is equal to 26 Build engine time units.
Build unitsexpressed in time. One second is equal to 26 Build engine time units.

Revision as of 18:44, 2 December 2009

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.