CodeBase - Multiplayer Example for Noobs
Return to the CodeBase listing
Category: Multiplayer
Version: 1.0
Information
Uploaded: 26th Oct 2008 19:06
Modified: 24th Jan 2009 17:59
Author: MSon
Summary
Basic program to demonstrate DarkBasics Multiplayer Commands
Full Description
Basic program to demonstrate DarkBasics Multilayer Commands<br /> <br /> This is a working example which is provided over 3 functions.<br /> Network_ConnectAsHost(GameName$,MyName$,MaxPlayers,NetworkType)<br /> Network_ConnectAsClient(ServerIP$,MyName$)<br /> Network_Update()<br /> <br /> you should ONLY alter the function called Network_Update() to suit your program.<br /> <br /> Run this programme once as server, While it is running, run it a second time as Client when it asks for the Servers IP Address enter "127.0.0.1", This will create a net connection to yourself to test this as both server as client.<br /> <br /> If you need any further help with this, then feel free to email me for help.
Comments
No comments yet.