xna と大規模マルチプレイヤーについてどう思いますか? たとえば、サーバーと 100 のクライアント? xna でクライアント サーバー アプリケーションを作成するための優れたチュートリアルはありますか?
4 に答える
There certainly are tutorials on how to do it. Personally I use Lidgren for my online prototype. I've only tested it with 4 people total and the server running on a low resource ubuntu vps, running on Mono, so I can't tell you how it will scale up but I'm sure others could.
For quick reading check out the site, http://code.google.com/p/lidgren-network-gen3/, you can read the wiki posts and google groups to get an idea of what others think of it.
The wiki posts on the main site have some basic tutorial-like posts but nothing too detailed. Or you can check out this site even and get a more detailed tutorial http://dirkkok.wordpress.com/lets-make-a-multi-player-game/. But this won't necessarily make you good at programming networked games, but it will certainly get you started.
ネットワークゲームの状態のサンプルではなく、クライアント/サーバーのサンプルを紹介します:http:
//create.msdn.com/en-US/education/catalog/sample/network_cs
しかし、それが大規模なマルチプレイヤーゲーム(「100クライアント」ではない)でどのように拡張されるかについては疑問があります。
App Hub には、ネットワーク ゲームの状態を管理するための優れたコード サンプルがあります http://create.msdn.com/en-US/education/catalog/sample/network_game_state_management