Hi,
I have created a game arena using Xith3D (a terrain game world). I can add a MD3 model to the arena and fire projectiles. I have also implemented a quake style keyboard / mouse look system.
Basically my avatar is created using two vectors - one for the current position and one for the current direction you are facing. Each projectile is also made up of those two vectors, I create a new vector to sotre the target position (ie target.sub(currentDirection, currentPosition) then I use a while loop to make my projectile move in the direction it was fired.
I would like to play the game over a LAN (just with 2 clients to begin with). I would like to keep things as simple as possible, all i really need the server to keep track of is both players position/direction and the same for when a projectile is fired. Is this the correct way to go about things?
I have some experience with java.io. What kind of network architecture should I use / look into using?
Any suggestions much appreciated…
Cheers.