Im currently looking to create a stage based game, where you enter the private instance, defeat the mobs or boss and then move onto a new instance if you win but Im not entirely sure where to start or to start learning.
I’ve looked at instance player housing but this is just 1 instance per player, where my players would be creating an instance > defeating mobs or losing > instance removed as player is not present > replace by new instance or the same instance if they failed to defeat the mobs
Probably by clarifying what you would and would not like to have. Many private instances use separately spawned places from the main game. You get teleported to a new server.
However, to me personally this is gross and Roblox really needs “Scenes” (Like Unity or Unreal Engine) that can be created in a server to keep all players together.
On that note - which would you prefer to do? Teleport them to a separate place together or keep them in the same game?
Many people will say that using difference places is gross and you shouldn’t do it.
However I disagree. First and foremost this could be achieved in one of two ways. You could teleport a user to their own “private” server and handle logic there. Alternatively, use teleport service to build a universe instead. A universe is more beginner friendly, but I would argue undesirable as a final product.
Look into TeleportService and go off there.
Additionally, you’ll need AI for your bosses/mobs and some form of global weapon storage/tracking to ensure players don’t end up losing their weapons in a teleport.
In The Great Yolktales we used separate places for each boss battle. To ensure no other players could enter the server, each battle instance was it’s own private server. For us, this worked very well as it meant only the players intending to take part in the boss battle would be in the server and once they were done we could just teleport them elsewhere and not worry about cleaning the place up.
I’d prefer to keep them in the same game, since the “levels” aren’t really to the scale that sending someone to a private server makes sense.
I’ve had a look around and found that pet battle simulator and tapping sim heroes do something similar to what I would like to do, so I might have been over thinking my needs? both these games use a player island and just seem to update that island as the player progresses.
I might be better off learning inflicting mob damage and replacing the previous mob with a new one once defeated, like a mob wave system
I did think the private server per boss fight was overkill for my smaller scale stuff but not having to clean up a place and having a definite control over who enters/fights etc is appealing. I might learn about this as well and use it to take my larger scale bosses to a newer level! thanks
Consider maybe doing one player servers then and using the Roblox Messaging Service for cross communication? The messaging service came out not too long ago and I feel it is a bit underused, despite how powerful it could be.