action cannon_ball(){ set(my,PASSABLE); my.speed_x = 8; vec_for_vertex(my.x,cannon,43); vec_diff(temp, player.x, my.x); vec_to_angle(my.pan,temp); while(1){ c_move(my,vector(my.speed_x*time_step,0,0),nullvector,IGNORE_PASSABLE); wait(1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de