function camera_handling() { VECTOR tmpV; while(1) { if(player) { vec_set(tmpV, vector(-100,0,25)); vec_rotate(tmpV, player.pan); vec_add(tmpV, player.x); vec_set(camera.x, tmpV); vec_set(camera.pan, player.pan); } wait(1); } }
Gamestudio download | Zorro platform | shop | Data Protection Policy
oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de