hi guys ,
i am new to gamestudio and dont know much about camerapositioning , i am trying to simulate a game reading fighting game workshop tutor from aum resources.
there the camera has to be positioned b/w the 2 players and below is the code given for it in the tutor but when i do this in A6.5 PRO the camera shows somewhere in the air . please help.................
Code:
function pos_camera()
{
camera.z = 90;
camera.x = ((right.x+left.x)/2);
camera.y = - ((right.x-left.x) + 50);
wait (1);
}
right and left are the two fighters