A Primer for RakNet using Irrlicht

Announce new projects or updates of Irrlicht Engine related tools, games, and applications.
Also check the Wiki
Post Reply
roninmagus
Posts: 91
Joined: Fri Oct 31, 2003 5:03 am

A Primer for RakNet using Irrlicht

Post by roninmagus »

I have written a fairly extensive tutorial for using the RakNet networking library inside a game/application created with the Irrlicht 3d engine. Irrlicht is my engine of choice, and this tutorial shows how to create an Irrlicht application whose event handler calls function in RakNet.

The code is not reliant upon Irrlicht, it's just what I chose to use. The tutorial is oriented towards showing basic networking methods for people with little knowledge of networking.

In the tutorial, you build a small client/server drawing application called Chalkboard. As the clients draw on the window provided to them, the server relays the information about what they draw to all the other connected clients, thereby creating a simple networked drawing program.

It contains excellent information about each function, the RakNet functions used, Packet structures, encoding custom data into a single packet to send, and much more information!

It is a great starting point for people to write their own Client/Server applications using RakNet.

You'll be surprised at how easy it is!

http://www.daveandrews.org/articles/irrlicht_raknet/
daveandrews.org - A Christian Programmer's Weblog | Dusty Engine - A Task Engine for Irrlicht
MikeR
Posts: 767
Joined: Sun Dec 26, 2004 4:03 pm
Location: Northern California USA
Contact:

Post by MikeR »

That looks great. :)
I've downloaded it and will be taking a look as I will be using raknet in my own game. :) Thankyou for posting this tutorial.
If it exists in the real world, it can be created in 3d

Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
bal
Posts: 829
Joined: Fri Jun 18, 2004 5:19 pm
Location: Geluwe, Belgium

Post by bal »

Very nice work. Everything is explained well and in clear language. Great job :).

Perhaps you could add it to the Wiki as well?
General Tools List
General FAQ
System: AMD Barton 2600+, 512MB, 9600XT 256MB, WinXP + FC3
roninmagus
Posts: 91
Joined: Fri Oct 31, 2003 5:03 am

Post by roninmagus »

That's a great idea :) I added it to the tutorials page:

http://www.irrforge.org/index.php/Tutorials
daveandrews.org - A Christian Programmer's Weblog | Dusty Engine - A Task Engine for Irrlicht
Loopy

Post by Loopy »

very nice tutorial. Thanks.

Is RakNet really free ?
I downloaded the free version but i found their license to be a bit confusing for me....
Am i allowed to use the free version commercially ?
I think 32 connections are enough for me, and i don't wanna pay $2000 to get unilmited connections and the full source code of the commercial license....

Maybe i'm just missing something, but i hate wasting time reading huge licenses :)
roninmagus
Posts: 91
Joined: Fri Oct 31, 2003 5:03 am

Post by roninmagus »

Yes, the license is free, but you cannot use it in a commercial project without permission from Rakkarsoft. There is no longer any charge for that.

Anything non-commercial and you can use the GPL license for RakNet.
daveandrews.org - A Christian Programmer's Weblog | Dusty Engine - A Task Engine for Irrlicht
Post Reply