How do you make it so the screen stops at a certain point?

Ok so this is a little bit hard to explain. But basically what I want to do is make it so that certain areas of the screen are not visible and cannot be seen on the screen.


For example, take a look at the picture below:


http://s902.photobucket.com/user/deyjay5/media/screen_zps2ag7eien.png.html


This is just a quick example I made, but basically, how would I make it so that the player cannot walk in the black parts of the screen but also cannot SEE the black parts of the screen, as in the screen will not actually move into the black parts? Is there anyway to do this with eventing or scripting?


Any help appreciated, thanks.
I've moved this thread to RPG Maker VX Ace . Please be sure to post your threads in the correct forum next time. Thank you.
You need what's called a 'Fog of War' script.  Both Jet and Theo Allen have one, but unfortunately I don't have the links, so you'll have to search.

Original thread: https://forums.rpgmakerweb.com/threads/how-do-you-make-it-so-the-screen-stops-at-a-certain-point.70338/