So I was working on a platformer game in Game Lab, when for some reason the camera stopped working when I ran the code. I had been programming it all day and it worked fine until then. I did some tests and found that if I don't run my camera positioning function (which sets the camera coordinates to be the same as the player coordinates), then camera.x and .y return NaN. If I do run the function, then camera.x and .y return the correct coordinates, but the camera still doesn't move. It stays at 200 x 200 even when the coordinates are something else.
Any ideas? Has this been happening to anyone else?