I am currently working on a game and wondering if I should use teleportservice or rather load maps in. The game has multiple maps, and multiple game types(2 players, 4 players, 10 players…) the player slots will be 24 so pretty high. And they would teleport frequently, and I would need it to be at least under 15 seconds
I heard alot of bad things about Teleport Service, but loading maps in for such an amount of players each would cost performance for the players. If teleport service is not recommended, could anyone advice me on how to load maps for specific clients? Thank you very much
Depends on the nature of your game. If you can get it all in one place, then do it. If you load the map into workspace from the server, then it gets replicated to all clients regardless. It’s the nature of the beast. If you have a lot of maps, it may be best to use teleport service to teleport players and have them spawn in a staging area while the map is loading in. When that’s finished, do a CFrame update to teleport the players to the map proper.
If you’re matches are pretty quick, maybe like 3-5 minutes, or the map isn’t so big, I don’t think you should use different places for each map. But maybe if the matches take 10-30 minutes, it kind of makes sense because then new players in the server won’t have to wait for the round to end to play the game.
You know, loading a whole new game would be laggier than just replacing the map ingame?