O'Reilly logo

Creating Mobile Apps with Appcelerator Titanium by Christian Brousseau

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

Let's bring this game online!

At the beginning of this chapter, we copied assets from the previous chapter. This game is fully-functional, yet it is a single player game only. In the following section, we will expand on this game in order to make it a multiplayer game:

  • We need to communicate with the game server we just created in the previous section
  • We also want players to be able to exchange short messages through a rudimentary chat
  • And since there will be many players roaming on the map at the same time, we will allow players to change their hero's appearance in order to have a clear distinction between players

Now, there will be a lot of changes to apply throughout the code base, but we will go through them step-by-step.

Connecting to the server ...

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