Aphrodite wrote:in a zelda game, IIRC the ennemies are created when arriving to the screen, so you should not have many issues with them as they should be only present in the same part of the world as you,.
Ashley wrote:It can be done but you have to design your game very carefully to avoid per-instance work. If you have instances across that entire layout, then presumably you will be dealing with tens of thousands of object instances, and any work that your events or the engine has to do for each of them will end up being slow - unless you limit the scope of the game to the currently active area. There's more information on designing scalable layouts in the blog post https://www.scirra.com/blog/ashley/14/how-render-cells-work how render cells work.
TBH it would probably be easier to just split up that size layout in to say 16000x16000 sections and jump between the layouts when you get to the edge.
Users browsing this forum: No registered users and 1 guest