So I'm trying to make a retro style game here. No real biggy, except that I'm having problems with zoom rates and fullscreen and such.
I've got pretty much the setup Ashley came up with here, except I'm using Magicam.
The problem I run into is that I can't seem to use layout sizes smaller than the window/screen resolution. In this case if I have a 640x480 layout, any window size larger than that and the camera starts to lose its focus on its target, and ends up showing stuff outside the layout (in this case, the white layout background). If the layout is larger than the window/screen size, everything works. Unfortunately system resolutions are variable from computer to computer, and I'd rather not have to have 4000x4000 layouts for just a single room. It'd also be pushing it for a small town in my game.
I need a way to keep the camera focused on the player properly and to stay within the confines of the layout while zoomed in. Anyone got any ideas?
Here's my cap: