Greetings:

I'm relatively new to A7, and have encountered a problem with a brief movement function I wrote to move the camera on a key press:

------------------

function motion1()
{
while(1)
{
if(key_v)
{
camera.x+=1;
}
wait(1);
}
}

--------------

This function works perfectly well in windowed mode, and moves the camera at the same rate in every resolution size A7 offers. However, whenever I switch to fullscreen mode, movement becomes incredibly slow.

Has anyone encountered this problem before, or know how I might go about amending this function so that movement is at the same rate in both windowed and fullscreen modes?

Regards,

J. Parsons.