2

xna と大規模マルチプレイヤーについてどう思いますか? たとえば、サーバーと 100 のクライアント? xna でクライアント サーバー アプリケーションを作成するための優れたチュートリアルはありますか?

4

4 に答える 4

2

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.

于 2012-04-06T11:40:55.937 に答える
1

ネットワークゲームの状態のサンプルではなく、クライアント/サーバーのサンプルを紹介します:http:
//create.msdn.com/en-US/education/catalog/sample/network_cs

しかし、それが大規模なマルチプレイヤーゲーム(「100クライアント」ではない)でどのように拡張されるかについては疑問があります。

于 2012-04-05T18:33:23.847 に答える
1

App Hub には、ネットワーク ゲームの状態を管理するための優れたコード サンプルがあります http://create.msdn.com/en-US/education/catalog/sample/network_game_state_management

于 2012-04-05T17:28:11.930 に答える