Neue Engine Features

Top  Previous  Next

dplay_encrypt

 

Setzen Sie in der Main Funktion "dplay_encrypt" auf 1, um die Verschlüsselung und Komprimierung von Datenpaketen in Multiplayer Anwendungen zu aktivieren. Diese kann man sicherer über das Netzwerk schicken und die Daten sind um 10 - 35% komprimiert.

 

 

str_width

 

Liefert die Breite (in Pixeln) eines Strings zurück, der eine gewisse Schriftart verwendet.

 

STRING* centered_str = "This text will be placed in the center of the screen at all times";

 

FONT* arial_font = "Arial#24";

 

TEXT* centered_txt =

{

       pos_y = 200;

       font = arial_font;

       string(centered_str);

       flags = VISIBLE;

}

 

// keeps the text in the center of the screen regardless of the video resolution

function center_text_startup()

{

       while (1)

       {

               centered_txt.pos_x = screen_size.x / 2 - str_width(centered_str, arial_font) / 2;

               wait (1);

       }

}

 

aum80_hot1

 

 

Concave Flag für Block Gruppen in WED

 

Das Concave Flag kann nun auch für Blockgruppen in WED gesetzt werden und wird für Blöcke benötigt, die ihre Konvexität aufgrund von Vertex Manipulationen verloren haben.

 

aum80_hot2