function strobo() { vec_set(my.blue,vector(255,255,255)); while(key_space) { my.lightrange = 200; wait(-0.01); my.lightrange = 0; wait(-0.01); } } action stroboscoop { while(1) { if(key_space == 1) { strobo(); } wait(1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de