Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / multiplayer game

Author
Message
BB9 Brad
21
Years of Service
User Offline
Joined: 6th Oct 2003
Location:
Posted: 8th Nov 2003 15:24
Whats the easiest way to make a modem connection game for direct play? i was thinking of doing a shoot em up just incase you wanted to know? he he thnaks for any help!

DB RULES!
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 9th Nov 2003 04:06
I'm not too sure about multiplayer seen as i have never done it before, but the best way is to make an IP connection...

And then for sending data ect, try to keep it to a minimum, otherwise, you will get major lag etc...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
waffle
22
Years of Service
User Offline
Joined: 9th Sep 2002
Location: Western USA
Posted: 10th Nov 2003 17:19
check out DUEL from my website. Its coded for DBPro, but the connection code is pretty much the same for DBC. If you can follow the code, you'll learn much about what you need to do next for your game. In DUEL, all connection data is passed in the commandline.

If the commandline says "MyName" then this instance is assumed to be the Host and the App configures itself as a host. If the commandline says "MyName 123.123.123.123" the instance assumes its a client and attempts to connect to ISP# 123.123.123.123 using the name "MyName" and joins the first game session located.

This setup code and the chat code should be very compatable with DBC. The memblock code would require DBC-Enhanced. If any source files are missing, or you have any questions, just email me and I'll assist as time permits. Also, I have a DUEL version coded in DBC if you like.

DUEL using DBPro requires DX9 to run, but you can still use the source code and media.

internet gaming group

Login to post a reply

Server time is: 2025-05-21 19:50:09
Your offset time is: 2025-05-21 19:50:09