Archive for May, 2010

Networking with RakNet

May 29, 2010

Have been playing around with RakNet (open source network engine) for the past two days and managed to get it working on Ogre3d! =) Although RakNet is easy to learn and implement it took me quite a while to manage to get the hang of programming it. With the help of “Player Demo” (a multiplayer game downloaded from ogre), I managed to put some working codes into my demo tank game. Firstly I created a Server program which is used to communicate with all the Clients. The Clients will be able to connect to the Server and send / receive packets to and fro. Currently I have successfully got the chatting part to work in my tank game. As it has been heavily coded without any networking element, I think I will have to re-code the whole program again 😥 It is far too tedious to have to put the networking part in for every feature and functions in my tank game. Also I have to think of how to implement these features for the networking portion so that no lag is imposed on the game.

Ogre3d 1.7

May 19, 2010

So far for the past few weeks I have been doing some updating to Ogre3d and other addons, and implementing additional graphics, models and features to my tank game. I have quite successfully compiled and built the libraries required for my tank game, using the latest versions of Ogre3d 1.7.1, Newton SDK 2.20, OgreNewt 2.0, CEGUI 0.7.1, irrKlang 1.3.0 and SkyX 0.1 (I am still eagerly waiting for 0.2!). I like the new terrain system in Ogre 1.7 and tried very hard to implement it in my game, at the same time building the Heightfield collision for it using Newton Game Dynamics. Although it took me a quite a while, the effort was worth it. I was so happy when I finally got it to work in my tank game! ^@^

I have been searching for a nice particle system all this while but wasn’t able to find one except for Particle Universe which is really cool. After some thoughts, I decided to purchase this software (it is not free!) as it is not really that expensive. It can be easily implemented in Ogre and it really has some nice particle effects! I like it very much and I think it is definitely worth the price that I paid.