nanoMMO

MMORPG loading screen and death screen in C++

A loading screen that covers the world until its land is built, with the fog lifting off it, a death screen that counts down to a Respawn button, and round gates, in the C++ client and server of our MMORPG.

Watch on YouTube

Our MMORPG gets a loading screen and a death screen. Entering a world, or going through a gate, the raylib client covers the world in the land's sky, with its name, until the land is built, and waits for a frame of the cover to be on the screen before it does anything that holds a frame up. Then the fog lifts off the new land, nearest first, so that it comes out of its sky instead of appearing all at once. On the C++ server, the dead now come back when they ask to, once their wait is over, and each world tells them how long they have left, which the client counts down to a Respawn button. The bots come back as soon as they can. And the gates get round platforms, in a ring of pointed stones. This is episode 50 of a series about building an MMORPG from scratch in C++, with the focus on the engineering around the game.

Topics: Graphics, Gameplay

The code

Each step on screen is a tag in the game's repository. The code at the end of the episode is ep050/end.

  1. 2:22ep050/step-1A loading screenBrowseChanges
  2. 10:59ep050/step-2The fog liftsBrowseChanges
  3. 14:27ep050/step-3Coming backBrowseChanges
  4. 19:02ep050/step-4A death screenBrowseChanges
  5. 24:00ep050/step-5Round gatesBrowseChanges

Transcript

Intro

0:00 Hello and welcome back to episode fifty, where we're going to stop the game flashing things into existence. Entering a world and going through a gate get a loading screen, and dying gets a screen of its own, with a button to come back. First, a quick look at what we'll have by the end.

0:18 By the end of the episode, entering a world puts up a screen in the land's sky, with the world's name, then the land's, while the client connects and builds the land behind it. Then the fog lifts off the land, what's nearest first. Going through a gate puts up the sky of the land on the other side, so the Ashlands come out of their red haze, instead of appearing all at once.

0:40 There's a website for the series, with more about the project. The code is open source, on GitHub, and linked from there, and each episode has a page, with the code at each of its steps.

Last time

0:52 A quick reminder of where we left off, first. Last time, the world started recording each hit, each blow taken and the health given back, as events. The server sends each player the events near them, over TCP, so none are lost, and the client floats them over the units, as combat text. And the README, which had grown long, became a page for each part of the game, in the docs.

Today

1:17 To begin, logging in and going through a gate, in the game we have so far. Once the login window goes, the whole island is just there, from one frame to the next. And through the gate, it's the Meadows on one frame, and on the next, the Ashlands are all there, right out to the fog.

1:35 Behind that, entering a world, the login screen freezes while the client logs in and connects, then the client draws an island from the empty world it has, for a frame, before the real one. Going through a gate, the client builds the next land in the middle of a frame, so the land is there all at once. And when you die, nothing on the screen says how long you'll wait to come back. So today, the client puts a screen over the world while it isn't there yet, and builds the land behind it. Then the fog lifts off the new land, so that it comes out of its sky. On the server, the dead come back when they ask to, once their wait is over, and the client gets a death screen, which counts down to a button that asks. And the gates get round platforms, in a ring of pointed stones. Right, let's start with the loading screen, in the client.

A loading screen

2:23 The loading screen gets a header file of its own, loading, which includes array and string, for the function that draws it. The class, loading, decides when the screen covers the world, and how much of it, and leaves the drawing to a function of its own. It's kept apart from raylib and ImGui, so that its tests need no window, the way the combat text keeps its popups apart from the drawing. Once the land is there, the cover fades over four tenths of a second, quick enough not to keep you waiting, and slow enough not to blink. Cover puts the screen up, from the next frame on. Covered says whether the last frame drawn was covered, which decides when the slow work can start. Building a land, or connecting to a world, holds up the frame it happens in. If we put the cover up and built the land in one frame, the old frame would stay on the screen while the land was built, and the cover would come up after it. So that work waits for a frame of the cover to be on the screen first. Covering is true while the cover's up, or going up. Lift says the land is built, so the cover can fade. Update moves it on by the frame's time, once the frame is drawn, and cover says how much of the screen it hides, from zero to one. Inside, it's in one of four stages, none, covering, covered and lifting, with how long it's been lifting. Draw loading screen is a free function, which takes how much to cover, the sky's colour, and the two lines of text to write on it. It's free, as it keeps nothing from one frame to the next, and it's apart from the class, so the class stays testable. In loading, we include imgui, for the drawing, then algorithm, for min and clamp, array, c float, for the largest float, and string. In the unnamed namespace, the longest frame is a thirtieth of a second. The frame that built the land can take much longer than a frame, and counted in full, the cover would be gone before we saw it fade. Cover goes to covering, unless the cover's up already. Each frame without the world asks for the cover again, and that leaves it covered, as the last frame drawn was covered too. Lift goes to lifting, with its time back at zero. Update is a switch over the four stages, with a case for each. A covering frame that's been drawn makes it covered. While it lifts, the time goes up, by a thirtieth of a second at most, and once it's past the fade, there's nothing left to cover. The other two stages stay as they are. Cover is a switch as well, all of the screen while covering or covered, less and less while lifting, and none after that. Draw loading screen draws nothing once the cover's gone. It draws on ImGui's foreground list, which goes over anything else ImGui draws, the windows too. A small lambda, byte, turns a share from zero to one into a byte, for ImGui's colours. The whole screen is filled with the sky's colour, as see-through as the cover says. The sky is the colour the fog fades into, so a land that comes out from under the cover seems to come out of its own sky. How light the sky is, weighing red, green and blue the way our eyes do, picks the ink, dark words on the Meadows' light blue, and light ones on a dark sky, such as the Crypt's. The words stay solid a little longer than the sky behind them, so they don't melt into it. The title is three point two times the size of the font, and the line under it one point three, and calc text size A measures each at its size, so that we can centre it, across the screen. The title goes a little above the middle of the screen, at forty-two percent of its height. The line under it goes four tenths of its own height below the title, so that the two don't touch, in three quarters of the title's alpha, so the title reads first. Each is drawn with add text, at its size, in the ink, with its alpha, from the corner that centres it.

6:12 Now, let's write a quick test of the loading screen's timing, which needs no window, so it takes our loading header and GoogleTest. A frame is a sixtieth of a second, and a helper, wait, updates the loading screen frame by frame, for as long as it's told. The first test checks that a new loading screen covers nothing, and isn't covering. The second test asks it to cover, as entering a world does. It covers all of the screen straight away, but it isn't covered until update says a frame has been drawn. Asked again, as each frame without the world asks, it stays covered. And the third lifts it, once it's covered. The first update gets two seconds, like the frame that built a slow land, and the cover is still more than half there, as that counted as a thirtieth of a second. After the fade's four tenths of a second, it's gone.

7:02 We build the client's tests at this step, in Docker, and run the loading screen's tests, which need no window. All three pass, so the cover waits for a frame, and fades once the land is built.

7:15 In the client's main, we include loading, and keep one next to the combat text. Entering a world used to happen right in the login screen's frame, the login, then the connection to the world, each a new TLS connection, with the screen frozen while they ran. Now, entering holds on to the login request until the loading screen is up, next to the world's name, for the screen to show. The request is kept until the loading screen has been drawn, and the world's name for as long as we're in it. At the top of each frame, before anything else happens in it, and once the cover is on the screen, we enter the world we picked, with the request we kept. That frame holds the cover, so whatever the two connections take, the screen shows the cover, and not a frozen login screen. Enter is the function we had, which logs in, connects to the world, and gives us the connection, or puts the error on the login screen and gives us nothing. Then we let go of the request, clear what we sent last and the players nearby, and drop the land we had, so that the world's land is built again, behind the cover, even when it's the land we left. In world says whether our world has come and its land is built, which is when there's a world to draw. Sending the input stays where it was, at the top of the block. Our world has arrived once it says who we are. Until then, it's empty, and its seed is zero, and the client used to build an island from that seed for a moment, and then the real one. A new land is a world with a seed our terrain doesn't have, and it's built once the cover is on the screen, and not before. The building is as it was, and once it's done, the cover can lift. While our world hasn't come, or a new land waits for the cover, we cover. Going through a gate is a new land, as the next world we get has the other land's seed, and its cover goes up for a frame before the land is built. And if the land we have is the world's after all, by the time the cover's up, it lifts, with nothing to build. We're in the world once it has arrived and our land is its land. The rest, the figures, the camera, the clicks and so on, now happens in a block of its own, once we're in the world, with the world again. The frame is drawn when we're in the world, and so are the windows over it. The login screen is built while there's no connection, and we aren't entering. Picking a world on the login screen no longer enters it. It keeps the request and the world's name, and covers. The request for the list of worlds is still answered in the login screen's frame, as before, as there's no world behind it to cover. Back on the login screen, after a log out or a lost connection, a fresh loading screen covers nothing. Once our world has come, the screen shows its land. The world says which land by its place in the list of lands, as a number, so a land this client doesn't know, from a newer server, shows as the Meadows, as it's built. It has the land's name as the title, in its sky, and the world's name under it, put together with str cat. Before that, it shows the world's name, over entering the world, in the sky of the land we were last in, which is the Meadows when we've been in none. After the frame is drawn, the loading screen moves on, and the music starts once we're in the world, and not as we connect. In the CMake file, loading joins the client's core library, and its test the client's tests.

In the game

10:31 Let's see it in the game at this step. As we log in, the screen goes to the Meadows' sky, with the world's name, while the client logs in and connects. Then the world says which land it is, and the land is built behind the cover, before the cover fades. Through the gate, the Ashlands' sky goes up while their land is built, and fades as the Meadows' did. Keep an eye on the land as the cover goes, though, as all of it is there at once, right out to the fog.

The fog lifts

10:59 Our lands have fog already, which fades what's far away into the sky, and that's what can bring a land in gently. In the loading header file, the fog takes a second and a half to lift, and clear says how far it has lifted, from zero, where it hides all but what's nearest, to one, the land's own fog. In loading, ease out takes a share of the way, from zero to one, and bends it, so that it goes fast at first, and slower as it ends. It works out what's left of the way, and takes its cube away from one, so the last part of the lift is the slowest. Lifting now lasts the second and a half, while the cover still fades over its first four tenths. Clear is a switch over the stages too, with no fog lifted while covering or covered, the eased share of the lift while lifting, and all of it after that. In the renderer's header file, set clear takes how far the fog has lifted, the way the loading screen's clear says it. The renderer takes it as a plain number, so it doesn't depend on the loading screen. It keeps it, at one unless it's told otherwise, which is the land's own fog. In the renderer, lifted takes an atmosphere by value, and returns it with the fog as far as it's lifted. The atmosphere is the sky, where the fog starts and where it hides everything, and the sun's light, and lifted changes the two distances, and nothing else. The fog starts out hiding all but the nearest two metres. Where it starts goes from the camera out to the land's own, and where it hides everything goes from two metres out to the land's own, a hundred and fifty metres in the Meadows. Draw works with a lifted copy, which goes to the shaders' fog, to which chunks are worth drawing, as a chunk past the fog can't be seen anyway, and to the sea. The land's own atmosphere stays as it is, which matters, as the settings window edits it in place. And in main, before each frame is drawn, the renderer gets how far the fog has lifted.

12:51 Next, let's have the loading screen's tests check the fog as well. A new loading screen has all of it lifted, and one that's just been asked to cover, none. The third test gets a new name, as it lifts the fog now. On the long first frame, the fog has lifted less than a fifth of the way. By the time the cover's gone, the fog has lifted more than half the way, as it's fast at first, but not all of it. After the rest of the lift, it's back to the land's own fog. And a new test goes through a gate half a second into the lift, once the cover's gone, but while the fog's still lifting. Covering again covers all of the screen at once, and waits for a frame again before it says it's covered.

13:31 We build the tests at this step, and run the loading screen's tests again. All four pass, so the fog lifts nearest first, and a new land covers it again.

13:41 In the game at this step, as the cover fades, the Meadows come out of their sky, the ground around us first, then the trees and the hills further out, as the fog goes back to where it was. And through the gate, the Ashlands come out of their red haze, as the Meadows did.

Coming back

13:57 Dying is next, and the client has no screen for it yet. arthur has four health and nothing to fight with, beside a skeleton's home, so the skeleton's hit is the end, and the world records the death. For ten seconds, the client draws arthur lying there, with nothing on the screen to say for how long. Then the server puts the player back in the middle of the land, at full health, and the client draws arthur there from one frame to the next.

14:28 What brought arthur back was the server, which returns a dead player to the middle of their land ten seconds after they die, without being asked. For a death screen with a button, the player has to be the one who asks, and the client has to know how long they have to wait. So in our proto file, the input gets respawn, as field twelve, the next free one, which the client sends once, to come back. And the world gets respawn too, as field nineteen, which is how long you have left to wait while you're dead, in milliseconds. In the world's header file, the player's respawn is how long until they can come back, while they're dead. The ten seconds of k respawn time are how long the dead wait before they can come back. A monster comes back once it's over, as before, and a player once they ask to. Respawn brings a dead player back, in the middle of their land, at full health, once their wait is over. In the world, respawn finds the player by their id, in the world's map of players, and returns if there's none, such as a player who left as the input came in. It returns too if they aren't dead, or have time left to wait, so a client that asks early, or twice, changes nothing. Otherwise, they come back in the middle of the land, standing, at the most health their level and what they wear give them. It's what act did when the wait ran out, and act no longer does it. The dead wait, with their time going down to zero and staying there, instead of going below it, and then they stay down until they ask. In the server, an input that asks to come back calls respawn on the player's land. And while a player is dead, the part of the world that's theirs alone, next to their experience and their cooldowns, says how long they have left, cast to whole milliseconds. Once the wait is over, that's zero, which protobuf leaves out, and once they're back, it isn't set at all. On the client, the parts put the world back together from its datagrams, keeping each of the player's own fields, and respawn joins them. In parts, a world sent over UDP is split into datagrams, packed with players and monsters, and a datagram keeps room for what isn't a player or a monster. That room grows by seven bytes, as a number past fifteen needs a second byte to say which it is, and a thirty-two bit number up to five. Without that room, a datagram could come out bigger than twelve hundred bytes, more than some networks carry in one packet, and they would split it or drop it. Each part sets it, as each carries the player's fields, and the world we put back together has it.

16:55 The bots are going to stay dead too now, until they ask, so in the bot's header file, a bot keeps whether it's dead, and whether its wait is over. Send writes an input to the server, as the bot now sends one from two places. In the bot, as the bot reads its own player from the world, it's dead when its motion is, and it can come back when the world says there's no wait left. When a dead bot would wander, it asks to come back if it can, with an input that has respawn set and nothing else, and either way, it thinks again a second later, without going anywhere. Most players click the button as soon as they can, so the bots in our load tests do too. The end of wander sends through send now, which frames the input into the bot's outgoing buffer, and writes it over TCP, as wander did.

17:42 Next, a quick test that the dead wait to be asked. The world's test of a skeleton killing a player gets a new name, as the player comes back in the middle when they ask now. The player dies as before, standing a metre from a skeleton, with nothing to fight with, in the eighteen seconds the test runs the world for. Then they ask to come back straight away, which is too early, and the test waits out the ten seconds. The player is still dead, with no wait left, as nobody asked once it was over. The early ask did nothing, and the wait ran down to zero and stayed there. The test checks the motion and the wait apart, so that a failure says which of the two is wrong. Then they ask again, and they're back on their feet, in the middle of the land, at a hundred health, the most a player has at level one. The parts' test of the room in a datagram fills in the respawn too, at its largest, and a new test checks that the parts take the wait from the newest world. A dead player's world says seven seconds, and the next world, once they're back, says nothing, which reads as zero. And the fuzzer, which plays the world with whatever a client might send, can ask to come back too, among what it tries.

18:49 We build the tests at this step, and run the world's tests and the parts' tests, neither of which needs a database. They pass, so a player comes back when they ask, once their wait is over, and the client gets the wait.

A death screen

19:03 On the client, the death screen gets a header file of its own, which includes c std int. Death screen darkens the world while we're dead, and puts a window in the middle, which counts down to when we can come back, then lets us, with a click. And as we come back, it hides the moment we jump to the middle of the land. Like the loading screen, how dark it is gets worked out apart from ImGui, so that the tests need no window, while build does the drawing. While we're dead, the world gets six tenths dark, over a second, so death sinks in, instead of snapping, and coming back, it fades back in over eight tenths of a second. Update moves the darkness on by the frame's time, from whether we're dead, and dark says how dark it is, for the tests. Build darkens the world, and while we're dead, builds the window, with the wait the world sent, and it returns true once we ask to come back. It remembers whether we were dead last frame, to catch the frame we come back. In death screen, we include imgui, for the window and the darkness, then algorithm, for min and max, c std int, for the wait, and string, for the button's label. A long frame counts as a short one, as for the loading screen, and the button is two hundred and twenty points wide. Update takes the frame's time, a thirtieth of a second at most. While we're dead, it gets darker, up to six tenths. On the frame we're back, the world goes all dark, under the windows. That frame is the one where we're suddenly in the middle of the land, so the jump there is hidden. Otherwise, it fades back towards nothing, over the return. Build draws the darkness on ImGui's background list, which goes under the windows, so the world and the nameplates darken, and the windows don't. While we're dead, the window goes a little above the middle of the screen, at forty percent of its height, centred on that point. It has no title bar, it's sized to fit what's in it, it can't be moved, and it saves no settings, as it's gone once we're back. It says you died, at two point four times the font, centred over the button. Under the title, there's a little spacing, then the button. The wait is shown in whole seconds, rounded up, so it says one until it's time, and doesn't say zero while the button still won't work. Once the wait is over, the button says respawn, and before that, respawn in, and the seconds left. It's disabled until then, greyed out, and build returns true once it's clicked while it works. In the client's main, we include the death screen, keep one next to the loading screen, and each frame works out whether we're dead, from the motion our figure is going to. Dead or not, the death screen is built in the GUI each frame, as the darkness fades after we're back too, and it takes whether we're dead, and the wait the world sent, which the parts kept for us. It's built right after the combat text, so its darkness goes over the nameplates and the numbers, with the wait the world sent, and when it says we asked, the client sends what it sent last, with respawn set, once. Its update comes before the frame is drawn, and not after, like the loading screen's, so that the frame we're back in is already the dark one. And in the CMake file, the death screen and its test join the others.

22:15 Then a quick test for the death screen's darkness, which needs no window either, so it takes the death screen's header and GoogleTest. A frame is a sixtieth of a second again, and a helper, wait, updates the screen frame by frame for as long as it's told, dead or alive, as the test says. Alive for a second, the world doesn't get any darker. Half a second after dying, it's darker, but not yet at six tenths, and after a second more, it's at six tenths, and stays there. The second test is dead for two seconds, long enough to reach six tenths, then comes back. A single frame alive, the frame we're back, makes it all dark, a dark of one. Then halfway through the return, it's somewhere in between, and after the rest of the return, it's clear, with the world fully back.

23:01 We build the client's tests at this step, and run the death screen's tests. Both pass, so the world darkens, and comes back from all dark.

23:10 In the game at this step, with arthur set up as before, the skeleton's hit makes the world record the death, and the server sets the player's wait to ten seconds. Each world the client gets from then on says how much of it is left, and the client darkens the world over a second, and counts it down on the button, greyed out until it reaches zero. The player doesn't come back on their own any more. The click sends the server an input with respawn set, over TCP, and as the server reads it, the player is back in the middle, at full health, which the next world it sends shows. The world goes all dark under the windows on that frame, and fades back in around the middle of the land.

Round gates

23:49 Last, the gates, as the game had them before today. Each is a flat square slab, in a ring of six stones, and the stones are tall boxes, standing straight on the grass.

24:01 As a land fades in now, a gate is the first thing we see of it, so it gets a better shape. Each of those stones and the slab is a cube, the slab in the colour of the sky the gate leads to, and the client draws each cube as raylib's cube mesh, at its size. In the cube's header file, which includes our triangles now, a cube gets a shape, a box, a disc or a spire, with box as the default, so the cubes we have stay boxes. Disc makes a disc a unit across and a unit tall, around its middle, like raylib's cube, and spire makes a square stone of that size, a little narrower towards the top, where it comes to a point. In cube, we include raylib and raymath, then array, c math, c std def, numbers and utility. A disc has twenty-four sides, enough to look round at the size of a gate. A spire's sides go up to a fifth of a unit above its middle, its shoulder, where it's thirty-eight hundredths from the middle to each side, where the bottom is half a unit. OpenGL draws the side of a triangle whose corners go anticlockwise, and it's easy to get each one's order wrong by hand. Both shapes are convex, so add outward checks instead. A face points outwards when its normal points away from the shape's middle, and one that doesn't gets two of its corners swapped. Each triangle is white, as the cube's colour tints it when it's drawn. Disc goes around the rim, with the shape's middle at the origin, as add outward needs it. A lambda gives a corner of the rim, half a unit out from the middle, at a height, with its angle the side's share of a full turn, in radians, from cos and sin. For each side, we take the corner at the top and the next one, and the corner at the bottom and the next one. Each side gets a slice of the top, from the middle of the top to its two corners, which add outward turns to face up, as that's away from the middle. Then it gets a square of the side, as two triangles, from the bottom up. That makes twenty-four slices and forty-eight triangles around the side. There's no bottom, as it sits in the ground, where nobody sees it. The top's slices all meet at its middle, like the spokes of a wheel, and the sides go round it, a square at a time. Spire starts with its corners, in an array of four, each as minus one or one, across and along. Multiplying by half a unit gives a corner at the bottom, and by thirty-eight hundredths, one at the shoulder. They go around the vertical in order, so each corner's neighbour is the next one. Its point is at the top, in the middle. For each corner, and the corner after it, wrapping round to the first with the remainder, we take the two corners at the bottom, and those two up at the shoulder. The side between them is two triangles, which lean in a little, as the shoulder is narrower, and from the shoulder, a triangle goes up to the point. So a spire is four sides and four faces of a pyramid, twelve triangles, and like the disc, no bottom. In the renderer's header file, a disc model and a spire model join the cube's. In the renderer, the constructor uploads each shape's triangles to the GPU, as a mesh, and loads a model from it, next to the cube's and the ball's. All four models get the cube's shader, set in a loop over pointers to them, where two lines did before. As the new shapes' triangles carry a normal per face, like the trees', each face is lit flat. The destructor unloads the two new models too, as each holds its mesh on the GPU, and raylib doesn't let go of it for us. And draw picks the model for each cube's shape, with a chain of conditional operators, a disc, a spire, or the box, and draws it at the cube's place and size, in its colour, as before. In the gate's header file, the description of the gate changes to match. In the gate, the stones get taller, three metres instead of two point six, so that their points stand out over the players' heads. Under each, there's a flat base, ninety-five centimetres across, where the stone is sixty. It's thirty centimetres tall, sunk ten centimetres into the ground, so that it sits on a slope too, instead of floating over one side of it. The platform gets a rim of stone, thirty centimetres wide and thirty tall, around the sky's colour, which is thirty-six centimetres tall, so that its top stands three centimetres above the rim's, and shows. Down in gate cubes, the loop over the six stones now adds two cubes for each of them, where it added one. For each stone, we work out the ground's height under it once, as both the base and the spire stand on it. The base goes there, with its middle half its height up, less what's sunk, in the land's stone, as a box, the default shape. And the spire goes over it, with its middle half its height up, in the land's stone too. The rim goes the gate's radius plus the rim's width out on each side, as a disc in the land's stone, with its middle on the ground, so half of it is in the ground. And the sky's disc sits in it, two of the gate's radius across, as wide as the gate the server sends you through. Its middle is on the ground too, and it has the sky's colour from the land the gate leads to. In the CMake file, cube joins the client's core library, and the gate's test the client's tests.

29:06 And a quick test of the gate's pieces, on the test's flat board. It takes the gate's header first, then algorithm, iterator, for back inserter, and vector, then our cube's header, GoogleTest, the lands and the terrain. The Meadows have two gates, so there are twelve spires, twelve boxes for their bases, and four discs. A lambda counts the cubes of a shape, with ranges count and a projection on the shape, which compares each cube's shape, and not the whole cube. Then the discs are copied out, in the order the gate put them in, rim first. Ranges copy if goes through the cubes, and a back inserter pushes each disc onto the end of a vector. The sky's disc is narrower than the rim, so it sits inside it. Its top, its middle plus half its height, is above the rim's top, so it shows. And it's two of the gate's radius wide, which makes it as wide as the gate the server sends you through.

30:02 We build the client's tests at this step, and run the gate's test. It passes, so each gate has its round platform and its six stones.

30:12 In the game, the gate to the Ashlands is a round platform now, with the Ashlands' red set into the stone. Its stones come to a point, each on its base, and as the camera goes around, each spire shows its sunlit faces and its shaded ones.

Wrap-up

30:26 So, today, the client puts a screen over the world while it isn't there yet, in the land's sky, and waits for a frame of it before anything that holds a frame up, the connection, and building the land. Then the fog lifts off the new land, nearest first. On the server, the dead come back when they ask to, once their wait is over, and the world tells them how long that is, which the client counts down to a button. And the gates are round, in a ring of pointed stones.

Playing it

31:41 Let me know in the comments what you'd like to see next. And if you want to follow along with the series, subscribe to the channel. I hope you find this useful, and thanks for watching.