A little Help With Multiplayer Please :)

Get help using Construct 2

Post » Wed Jul 11, 2012 10:03 pm

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:
http://www.scirra.com/forum/yetanother-multiplayer-demo-with-capx_topic49587.html

And for now... I am also copying his .Capx a lot!


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!
.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 ^^Schoening2012-07-11 22:06:25
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Thu Jul 12, 2012 9:55 am

(Was getting to Page 2)

Bump
B
40
S
11
G
4
Posts: 665
Reputation: 8,403

Post » Thu Jul 12, 2012 3:19 pm

I think you need to portforward your router or model ( I am trying to do it )
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Thu Jul 12, 2012 7:55 pm

Well It doesnt even seem to connect yes..
B
40
S
11
G
4
Posts: 665
Reputation: 8,403


Return to How do I....?

Who is online

Users browsing this forum: Google [Bot], Timedoor Indones and 25 guests