|
Neue Engine Features |
Top Previous Next |
|
Verwenden Sie Ihr eigenes Icon
Das Anwendungs-Icon (in der Taskleiste angezeigt) wird nun vom Icon von acknex.exe gesetzt und läßt sich mithilfe eines Icon-Editors durch ein beliebiges Icon ersetzen.
draw_obj(layered_object)
Zeichnet für einen Frame ein gelayertes Objekt (Text, Panel oder View-Entity) auf den Bildschirm.
TEXT* temp_txt = { pos_x = 320; pos_y = 100; string = "Just testing"; font = "Arial#20b"; }
function draw_startup() { while (1) { draw_obj(temp_txt); wait (1); } }
Verbesserte exec-Funktion
Die exec-Funktion kann jetzt auch Dokumente und Internet-URLs öffnen.
BMAP* picture1_pcx = "picture1.pcx"; BMAP* picture2_pcx = "picture2.pcx"; BMAP* pointer_tga = "pointer.tga";
function mouse_startup() { mouse_mode = 2; mouse_map = pointer_tga; while (1) { vec_set(mouse_pos, mouse_cursor); wait(1); } }
function open_url() { exec("http://www.3dgamestudio.com",NULL); // open this URL using the default browser }
PANEL* openurl_pan = { layer = 15; button(40, 10, picture2_pcx, picture1_pcx, picture2_pcx, open_url, NULL, NULL); flags = SHOW; }
|