This is great, jayderyu!! I'm really impressed - particularly by the smoothness of motion.
I think I'll back out of this multiplayer plugin business and leave the field to you <img src="smileys/smiley2.gif" border="0" align="middle" />
—
While I appreciate the comment; very flattering. The "smooth" movement comes from motion state up dates over positional. I do brute force the position, but it's more about what direction the player is moving in when keys are pressed.
I suggest yours is better than mine for some important reasons.
* Support. I'm not sure photon is the best server software to go. Photon doesn't seem to allow cluster network coding that C2 developers need. The server side API is in C#. Photon can't route data by way of config, it only routes data to other C# photon servers.
* After implementing the health spawning and trying to do a better Actor managment; I discovered something important. Advanced item and room management needs to be done with loadbalancing api.
Lobby room lists, setting max players, room passwords, items already in a game match.... all need to go through the more advanced versions by the way of loadbalancing. as a sample
var loadbalance = new LoadBalancing(masterServerAddress,.....)
var roomInfoList = loadbalance.getRoomlist();
this is the object
roomInfo[]{ name, maxPlayers, password, isVisible, isOpen,... }
* I got Draoust to work on. I really just wanted to get a few days away from Draoust. So I thought to throw together a simple network demo. I worked on the network code for a couple of weekends, and put the game together on Monday. I'm mostly done with it now :D except for a few niggle bits and browser issues. It seems to run pretty well for most. So now I should get back to Draoust before I lose momentum :)
* Photoncloud... nope. mine doesn't work with Photon Cloud. I'm not even sure how to use PhotonCloud :D. I think most C2 developers would prefer to use the Photon Cloud over running there own Photon Server. I did this in hopes to cluster network POC. But when I found that rooms were isolated and can't send message to other rooms. My plan was smushed. Also I would require to use C# and Visual studio express :D... I'll pass.
I suggest you keep up at your own work or maybe the 3 of us can team up? I can't afford my full time on networking, but I can do part time :)
maybe you(@velotjet), awarmenhoven and I should put our heads together and come up with some kind of robust MP system for C2?