Wait for the required players to join the game.As long as the GameActive bool is false:.This runs when all the players are in the lobby, waiting for a new game to start. Then we need to create the LobbyTimer function. Next, in the ServerScriptService service, create a new script called GameManager. ReplicatedStorage is where we can put objects that are stored on the server. In the Explorer, go over to the ReplicatedStorage service and create those two things (rename them appropriately).
#Create spawn points open arena update#
Just like with our lobby, let’s also put the arena into its own folder.įor our arena, we need to create spawn points for players to spawn at. Then finally, we can add in obstacles and platforms for the players to move around. Using the modeling tools (union and negate). Next, we’ll need to create the walls for our arena. Make sure to also enable Anchored so that the platform doesn’t fall.Let’s start by creating a new block part for our floor. This is going to be a separate area from the lobby. Now that we have our lobby, let’s create the arena that the players will be fighting in. To fix this, open up the Lighting service and delete the Sky. You may also notice that the sky looks a bit weird, this is due to us using the baseplate template. To make our workspace a bit cleaner, let’s create a folder called Lobby and store all of our lobby parts in it. Now you can play the game ( F5) and make sure that you cannot jump off the baseplate. Then we can set the Transparency to 1 to make the wall invisible.ĭuplicate the wall three times and move/rotate them so they surround the baseplate like so… Scale and position it along one side of the baseplate.To do this, we’ll be adding in invisible walls around the baseplate. Now we need to make it so that players can’t jump off the platform. We’ve got the baseplate and spawn location setup. Select the SpawnLocation and set the Transparency to 1.I also went ahead and changed the Color to deep orange.Down in the Properties window, let’s change the Scale to 100, 6, 100.In the Explorer, select the Baseplate part.
This is where players will spawn and wait for the game to begin. The first thing we’re going to do is set up our lobby area.
Let’s start by creating a brand new project – using the Baseplate template.