WHAT IS
3D RAD?
CLICK HERE
TO FIND OUT!


Multiplayer Games In 3D Rad

The simple game below was created to test 3D Rad multiplayer functionality. Each player controls a ball, trying to push the others off the board. Up to 4 players can join the match. A virtually unlimited number of connected users can watch.


You don't need 3D Rad installed on your system to play this game (it is a compiled, stand-alone project). The complete source project is included to the latest 3D Rad version, for you to examine and modify.

To play the game with your online friends, click here to install the game on your computer (5 Mb download).

Then ask your friends to install the game on their computers too and to run it in client mode. Launch the game on your computer in server mode. Note that your friends will need your IP address in order to join the game.

You can find the IP address of your computer by typing ipconfig in the Windows command prompt.

Keep in mind that you can also launch the game multiple times on the same computer, the first time as server and the subsequent times as client, by specifying 127.0.0.1 as IP address.


SOURCE PROJECTS

The game is made of the following 3 projects: NetBallArenaMenu, NetBallArenaServer, NetBallArenaClient. These are included to the latest 3D Rad version. You can open each project in 3D Rad by pressing Ctrl+O.

The menu project (NetBallArenaMenu.3dr) let's the user call the server version of the game by pressing F1 and the client version of the game by pressing F2, as soon as the game starts. Note that this only works after the 3 projects are compiled into a single stand-alone program by using the 3D Rad compiler utility.

The server project (NetBallArenaServer.3dr) is the actual game. The simulation, including collision detection and physics, is perfomed on the server PC (your computer, if you host the game).

The client project (NetBallArenaClient.3dr) is a simpler 'terminal' project with just visuals (SkinMesh objects) for the balls and input control processing to capture remote players' input.

For details on how the projects work, please see the network section in the SkinMesh object's help file and the EventOnInput object's help file.

In order to test your modified versions of the game on one single computer (in listen-server mode, without a network, as mentioned above), keep in mind that only compiled versions of 3D Rad projects can process the simulation while the rendering window isn't focused.

The best is of course testing your project on a LAN or on the Internet, with the help of remote friends, because only the real environment allows you to determine the network performance requirements of your game.