Newbie Question - Adding a multiplayer/networking option to a single player

Hi guys,



I have just about finished my game(using jME of course - extending the basegame) - really simple fps - where a player has to kill 3-4 bots and get to the flag to win. I just want to add a really simple multiplayer option where instead of the bots other players(upto 3) could join and who ever is the last one standing and gets to the flag wins. Is this possible to do so in a simple manner - I have the basic game and rules set up for single player? What would be the best way to go about it? Are there any such examples available to have a look at?



Many Thanks,



Dev

If you use JGN there is an example using jME with networking on the FlagRush tutorial:



http://svn.javagn.org/synchronization/jme-networking/trunk/src/com/captiveimagination/jmenet/flagrush/

Hi darkfrog,



Thanks very much for the link. While the code seems simple enough, I am unclear about couple of things - is there a tutorial explaining it, like the flagrush tutorials?



Regards,



Dev

There is a tutorial written by another user on the wiki:



http://javagn.org/wiki/FlagRushTutorial



For other information like a FAQ go to:



http://javagn.org/



If you find anything missing please feel free to add to it.  The wiki is the result of users of JGN that were gracious enough to contribute back.

Thanks darkfrog. Sorry with my experience on the board I should have looked around first, but my project deadline is closing in and I am just a bit jumpy. I try and contribute here as much as I can (with any newbie or other questions I know) and if I can add to anything at jgn I will surely do so. I appreciate your and everyone else's help here and I'll try and pass on my experience where I can.



Thanks again,



Dev

That's all we ask…well, and your first born, but I'm sure you already read that in the modified BSD license we use.  :stuck_out_tongue:



NOTE The aforementioned comment about the license was a joke. Please remain calm.

That's all we ask....well, and your first born, but I'm sure you already read that in the modified BSD license we use.


*panic* :-o  Thats really dark, froggy! What in God's name have you signed me upto?? 

NOTE The aforementioned comment about the license was a joke. Please remain calm.


*sigh* phewww.. that was close - an almost heartattack...

p.s. Once I get the project done, I will submit simple line of sight code, slightly different collision detection code and if I get my mess of a code(literally) clean then may be I can submit my extremely naive project which hopefully someone can optimize and can may be used as tutorials or just reference for any newbies wanting to have a look or a strict lesson in how not to code  ;)