action cube(){ while(1){ if(is(my, TRANSLUCENT)){ reset(my, TRANSLUCENT); } wait(1); } } void main(){ fps_max = 60; level_load(""); mouse_mode = 4; ent_create(CUBE_MDL, vector(200, 0, 0), cube); ent_create(CUBE_MDL, vector(200, -25, 0), cube); ent_create(CUBE_MDL, vector(200, 25, 0), cube); while(1){ if(mouse_ent){ set(mouse_ent, TRANSLUCENT); } wait(1); } }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de