Oh, one quick question:
I'm trying to make the camera isometric, via:
camera.flags |= ISOMETRIC;
but it doesn't seem to be working. Any tips on how to apply this to the script you supplied? I tried adding it in after the vec_set statements but it didn't make a difference.