void gs_move(ENTITY* ent,VECTOR* tarPos,double speed,int* pframe,var mode){ int b = vec_dist(vector(ent->x,ent->y,0),tarPos) / speed; int i; *pframe = b; for(i = 0;i < b;i++){ c_move(ent,vector(speed,0,0),vector(0,0,0),mode); wait(1); } }
Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de