Tic-Tac-Toe - Part 3 - Multiplayer, with a Lobby

Index

Attached Files

The following files have been attached to this tutorial:

.capx

tttmp-client-130.capx

Download now 908 KB
.capx

tttmp-lobby-100.capx

Download now 175 KB

Stats

4,076 visits, 10,452 views

Tools

Conclusion

There's a lot to think of when programming a multi-player game, but hopefully between the Scirra tutorials, and my variation you can glean enough to get your own going. I've avoided any synchronization commands, as they don't really apply to a turn-based-game, and most of the work revolves around setting up the communication channels. The actual communications them selves are really quite straight forward.

Sample

Please note: I do not have a dedicated server to run the Lobby from, so you may or not find it running already. To isolate your own environment, change the game-name in the lobby and client projects. This is GAME_NAME on eLobby of the Lobby projects, and GAME_NAME on the eJoin event sheet of the Client project.

Lobby

Game Client

.CAPX

tttmp-client-130.capx

Download now 908 KB
.CAPX

tttmp-lobby-100.capx

Download now 175 KB
  • 0 Comments

  • Order by
Want to leave a comment? Login or Register an account!