Microsoft DirectX 9.0 SDK Update (Summer 2003) |
StagedPeer
The StagedPeer sample connects players together with dialog boxes that allow players to chat and to start a new game at the same time. The host can start the game when all the players have joined and everyone is ready. The host player can also reject players or close player slots. The game is identical to the SimplePeer game.
When the game starts, players can press the Wave to other players button, which sends a simple Microsoft® DirectPlay® message to all other players.
Path
Path: (SDK root)\Samples\C++\DirectPlay\StagedPeer
Executable: (SDK root)\Samples\C++\DirectPlay\Bin
Programming Notes
The StagedPeer sample is similar in form to the SimplePeer sample. StagedPeer differs only by displaying a multiplayer stage using a dialog box. See Netstage.cpp and Netstage.h for details. For more information, see the Programming Notes section of the SimplePeer sample.