Hi, I'm making a survival game and the engine is finished. I have everything currently on one frame (I have other menu frames but that isn't important)
Current game frame - https://gyazo.com/ad1c45b2fb833e392868096cdabbccb2
On this frame has the player, enemys, every block that should be in the game, the logic and all counters that make the game work. The problem is, is that I can't make this frame huge and have every zombie in the game on one frame because that just won't run well. So I want to optimise it by having multiple layouts loaded for this one frame. I'd like to be able to walk off the edge of the screen and for it to load the correct layout for the next part of the world (if that makes sense). Like this - https://gyazo.com/f2381c4efddfb1464181cbc720106c85
If anyone can give me an in-depth tutorial on how to make what I'm thinking then that would be apprechiated.
I know that someone else has already made a post about this but I didn't understand it very well. I know it will work because heres a clip of a game using this design - https://youtu.be/hx0vB4oC1iQ?t=1m43s