function change_elem() { if(key_1==1) { my.elem_stat = fire; if(my.elem_stat == fire) { im_on_fire(); //function of fire particle } } if(key_2 ==1) { my.elem_stat = ice; if(my.elem_stat == ice) { im_on_ice(); //function of ice particle } } else set(my,INVISIBLE | PASSABLE); }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de