|
Neue Engine Features |
Top Previous Next |
|
ent_mtlset
Ersetzt das Skin Lighting und den momentan Material-Effekt eines Models.
ent_mtlset(my, mtl_new, 1); // change the material for the first skin of the "my" model
user_name
Dieser String enthält den Namen des Engine Users, der im “About” von Wed und Med angezeigt wird. Dieses Feature ist nützlich, wenn Sie Code schreiben wollen, der nur für einen bestimmten Engine-User funktioniert.
starter check_user() // this function will only run on my PC { if (str_cmpi (user_name, "George Pirvu")) // the code runs on George Pirvu's PC? { beep; // all is ok, so do something here // the rest of the code for your game would be placed here } else // somebody else tries to run this function { exit; // so shut down the engine } }
Der Lite-C Compiler ist beinahe vollendet
Der Lite-C Compiler kommt immer näher zu seinem Abschluss. Die Syntax wird sich nicht mehr ändern, also kann jetzt ein richtiger Lite-C Beta Test beginnen. Alle Funktionen und Objekte mit Ausnahme von game_save und game_load sind nun implementiert.
|