Multiple Connection to Local Server

quackorquackor said

a long time ago | Post #1
Hello,

So I'm an ActionScript developer starting his adventure with Nonoba.

Here's a crucial question that I can't figure out (it's probably the newbie thing):
When I run sample app from the dev kit code and the local multiplayer server in my VS:Express for C#, how do I connect another player? Is it possible to do it over LAN? How else?

Thanks for your help.

quackorquackor said

a long time ago | Post #2
So nevermind that. I figured it out.

Didn't realize MakeMultiplayer in NonobaAPI.as had a String parameter with a default value of "localhost".

Passing it my box's IP number did the trick.
Post #3 deleted

mefuzzymefuzzy said

a long time ago | Post #4
This is a good question...
Could somebody give more details on what quackor found as a solution?

How do you pass "my box's IP number"? Setting the "p = [IP number]" or something?

And then what? Would I just compile my flp mutliple times and I could have multiple windows, each representing multiple connections?

Maybe its because I don't have any server administration experience, but this isn't very intuitive to me. Please help...

ChrisChris said

a long time ago | Post #5
By fare the easiest way to connect two clients to the same game is testing the game in a browser. Simply open up the game in two browsers. (You likely have to add the game as trusted for this.)

Otherwise your solution works, and it's actually in the documentation.

mefuzzymefuzzy said

a long time ago | Post #6
Thanks Chris. It works as you said. I just had to put the local directory name in the address bar of the browsers and adjust my browser security settings.

I don't see that anywhere in the nonoba documentation. Maybe that information is considered to be a given.
Last edited a long time ago

Reply to thread

Sign up now to reply to threads

Funkyball

funkyball.com is an independent gaming site where you can play both single- and multiplayer games for free.

Developer Tools

If you're a flash game developer, we've got some awesome tools to help you make even better games.

Great Games

Why not try some of the very best online flash games we've got, completely free?

Copyright ©2007-2012 Funkyball™ - All rights reserved.43.0025ms on SERVER34097