O'Reilly logo

3D Game Programming All in One, Third Edition by Kenneth C. Finney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 22THE GAME SERVER

Now we have some things we’ve either added to the game world in recent chapters or simply included in our game requirements that are not yet supported in the program code.

In this chapter we’ll focus on adding the server-side code we need to support the requirements, as well as adding in some code to bring certain concepts to a more complete state.

THE PLAYER-CHARACTER

You’ve probably noticed a few things that are odd or incomplete in the player behavior or appearance in the code and art we’ve dealt with up to this point. We’ll tackle those things now.

Player Spawning

For our example games, we’ve used a fixed spawn point. Well, there is a convenient spawn point system available that we can employ.

First thing we need ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required