Hey Folks!
I am trying to start working on my little Multiplayer Game.
Move-To-Mouse-Click = Like RTS, Dota'ish, rpg.. you name it!
I am using juantar's Plugin:
scirra.com/forum/yetanother-multiplayer-demo-with-capx_topic49587.html
And for now... I am also copying his .Capx a lot! <img src="smileys/smiley36.gif" border="0" align="middle">
But for some reason I do not seem to do it right...
Server is started via CMD just like the instructions say in his post.
Take a Look and if you got ideas TELL ME! <img src="smileys/smiley1.gif" border="0" align="middle">
.CAPX
TO RUN THE CAPX PROPPERLY YOU NEED THE SOCKET-IO and NODE_JS!!!!!!
I also have a question that is more for the js people that are around ^^
To create other events then Move,Join,Create and Shoot..
Do I simply add More Functions in the "example_server.js" do I simply add more:
else if (new_data[0] == 'XXX') {
var shoot_info = []; XXX_info[0] = new_data[1]; XXX_info[1] = new_data[2];
shoot_info[2] = new_data[3];
socket.broadcast.emit("message", 'XXX,' + mySelf[0] + ',' + XXX_info[0] + ',' + XXX_info[1] + ',' + XXX_info[2]); }
Cheers ^^