action cannon_ball(){ set(my,PASSABLE); my.speed_x = 8; VECTOR temp2; while(1){ vec_for_vertex(temp2,cannon,43); vec_diff(temp, player.x, temp2); vec_to_angle(my.pan,temp); c_move(my,temp2,my.speed_x,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