Ah I thought you were using gamemaker studio since I was filtering for that. In gamemaker the way the field of view is done is with a "camera" which you can manipulate in some ways. This is still pretty cool though I just understand it less.