function post_motionblur(on) { if(on == 1) { pp_set(camera,mtl_blur); while(1) { mtl_blur.skill1 = floatv(mouse_force.x*25+mouse_force.y*25); wait(1); } } else { proc_kill(4); pp_set(camera,NULL); } } [...] post_motionblur(1); //turn the effect on [...] post_motionblur(0); //turn it off
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de