Jenkins Software

 Irrlicht FPS Demo

Demonstrates peer to peer connectivity in a first person shooter

The FPS demo uses the game engine Irrlicht to move actors and bullets around.

To run it, download Irrlicht, a free game engine. By default, it is assumed to be installed at C:\irrlicht-1.6

In the solution, open Samples / 3D Demos / Irrlicht Demo. Right click and build.

Most of the network code is found in RakNetStuff.cpp under DependentExtensions\IrrlichtDemo. For a technical description of how the code was implemented, see readme.txt in that same directory. As the sample is peer to peer, it requires the NAT punchthrough server to be running. Jenkins Software provides a free server, pointed to by DEFAULT_NAT_PUNCHTHROUGH_FACILITATOR_IP. If you can't connect, it's likely that the server is down for testing. You can also run your own server, as the code that is running is the sample code found in the NAT punchthrough project.

The code is located at DependentExtensions\IrrlichtDemo

Irrlicht must be installed. It assumes it was installed to c:\irrlicht-1.6. It also requires irrKlang for sound, provided by default.
See Also