New engine features |
Top Previous Next |
LOD manager
Med has just got a "level of detail" manager. While we all want to see detailed models when we're close to them, we don't care that much about their looks when we are far away and those models only use a few pixels on the screen. The LOD manager generates a set of 3 low polygon models for us and the engine swaps them automatically when their distance to the camera grows above a user-defined value.
Panel needles
These new panel elements can be used to add watches or needle indicators to your games or applications.
var video_screen = 1;
function main() { level_load("test.wmb"); }
panel clock_pan // displays a needle that shows the seconds { pos_x = 300; pos_y = 250; needle(10, 5, "needle.pcx", 1, 1, 90, 60, 0, sys_seconds); flags = visible; }
draw_line3d
Draws a 3D line with the given color and transparency.
var video_screen = 1;
function main() { level_load("test.wmb"); }
starter draw_3d_lines() { {
|