|
Neue Engine Features |
Top Previous Next |
|
Neue MED Features
MED ist nun in der Lage, den zweiten Satz an UV Koordinaten auszutauschen oder zu entfernen.
mouse_panel
Dieser Pointer gibt das Panel an, auf dass die Maus zeigt, falls vorhanden.
BMAP* pointer_tga = "pointer.tga";
PANEL* gameover_pan = // just a panel example { layer = 15; pos_x = 300; pos_y = 200; bmap = "gameover.pcx"; flags = VISIBLE; }
function mouse_startup() // your typical mouse snippet { mouse_mode = 2; mouse_map = pointer_tga; while (1) { vec_set(mouse_pos, mouse_cursor); wait(1); } }
function panels_startup() // click any panel and drag it to the desired screen position { while(1) { if (mouse_panel) // the mouse pointer is placed over a panel? { while (mouse_left) // then run this loop until the player releases the left mouse button { mouse_panel.pos_x = mouse_cursor.x; // move the panel at the position given by mouse_panel.pos_y = mouse_cursor.y; // mouse_cursor.x and mouse_cursor.y wait (1); } } wait(1); } }
Map Compiler Verbesserungen
Der Lightmapping Algorithmus des Compilers wurde verbessert - Lighting 2.0 ist nun immer aktiv. Die "Supersampling" Option bearbeitet die Lightmaps nach und entfernt so die "Stufen", die auftreten können.
|