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

3

Index

Attached Files

The following files have been attached to this tutorial:

.capx

tttmp-client-130.capx

Download now 908.03 KB
.capx

tttmp-lobby-100.capx

Download now 175.5 KB

Stats

12,218 visits, 25,414 views

Tools

License

This tutorial is licensed under CC BY 4.0. Please refer to the license text if you wish to reuse, share or remix the content contained within this tutorial.

Published on 5 May, 2014. Last updated 19 Feb, 2019

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.03 KB
.CAPX

tttmp-lobby-100.capx

Download now 175.5 KB
  • 0 Comments

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