Use the arrow keys to control the person. The A key brings the block closer while s makes it go farther away.
I realize that the more accepted method of making a 3D game is a raycaster, but I thought that this might be easier for newer scratchers. You can use the code, but please give me credit. If you use the sprite for anything, please put a link to either this or my profile in your notes. ( I know its horrible, but just in case.)