Hello, I've stumbled across a problem I cant really seem to get my mind around. I'm working on this multiplayer game, It's a sidescroller, with a lot of different maps merging into one world map, where players on one map can only see other players on that same map etc. and they can go to other maps by doors/side edges, You get the point.
Now this game will have both enemies and NPC's (AI-controlled ofc), wich will interact with the maps regarding collisions etc as well as other players. I get that the server probably is the best "client" for these AI-controlled guys, but that would mean that I'd have to check collisions etc on every friggin map on the server, for every npc/enemy, as well as actually load the maps into memory on the server(wich I do not do atm). That would be very performance-costly and I can't seem to wrap my head around on how to fix this.
Do anyone have an idea on how to fix this? [/quote]