Skip to main content
gamedev.net
🔒 Locked

Directplay Source

Started by Sovok Dec 3, 2002 at 8:06 AM 13 replies 1.1k views
Original Post
Sovok
Sovok
where can i get the sourcecode of a small working directplay/directdraw fullscreen game? the m$ samples don''t help me much as well as the directplay tutorial here at gamedev.net greets sov
sirob
sirob
I think you might mean Direct3D. DirectPlay is the multiplayer functions. Direct3D or DirectX Graphics is the graphics core.

Doesn''t matter much.

There are sample applications for both D3D and DPlay in the DirectX SDK. They''re located in the samples directory of the SDK for VB and VC++, and include source code.

If you need the SDK you can get it here (around 100mb download):
http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/msdn-files/027/001/770/msdncompositedoc.xml
Sirob Yes.» - status: Work-O-Rama.
Sovok
Sovok
no sorry...
ok i add some info...
i already finished 3 directdraw games... dont want to get into direct3d yet... however the only directx feature i got problems with is directplay
so i need some source code (not the microsoft samples... i hate them)
it would be perfect if i could get the source of a working directdraw game with directplay... cause i familiar with the ddraw structure so i think i could find out on my own how its working

so if anyone already coded a fullscreen ddraw game including directplay features please answer
Buster
Buster
DirectPlay 8 is excellent. The best examples are the ones in the SDK.
sirob
sirob
I gotta go with Buster on this. Direct Play 8 provides a comprehensive solution for many kinds of multiplayer games.

Not to mention -- it does everything for you .
Sirob Yes.» - status: Work-O-Rama.
Sovok
Sovok
hmmm... hope u dont mind if i mention that i`m still looking for some sourcecode.... pleeeease

and i agree to sirob....
niyaw
niyaw
what exactly is wrong with sdk samples? sure, they may seem complicated, but just go through them slowly and try a divide-and-conquer approach.
KalvinB
KalvinB
The full Gang Wars source (client and server) is available to download. It''s DX7 though.

Otherwise, yes, use the SDK. It doesn''t really get much simplier.

Ben


IcarusIndie.com [ The Labyrinth | DevZone | The Wall | Hosting | Tiberian Merchandise | GameShot | Fun With Cutouts ]
Sovok
Sovok
@kalvin where?
Sovok
Sovok
...i still need some source pleaaaaaaaaaaaaaase
renqilin
renqilin
I''m sorry I can''t help you,why not use winsock?
Pipo DeClown
Pipo DeClown
because Winsock is not a Game-NetAPI.
DirectPlay was made to make games with.

.lick
Sovok
Sovok
i begin to wonder if noone in here created a small game that is using directplay yet...

@pipo no i want directplay only... im not interested that much in network programming...(my main focus is on game logics not on the surrounding stuff) i just want to get it working... just like directinput/directdraw/directsound/directmusic they all work fine and i found enough references to find out how

just directplay seems to be a blackbox...(and thats not the first board i
m asking for that)

sov
mickey
mickey
hi,

my very first game, direct draw tictactoe w/directplay peer to peer,

anyway, just icq me if you''re interested to have it, i still have to look for it in my big bloated harddisk,
http://www.dualforcesolutions.comProfessional website designs and development, customized business systems, etc.,

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.