A Flash Developer Resource Site

Page 2 of 2 FirstFirst 12
Results 21 to 27 of 27

Thread: [as3] Lan

  1. #21
    Heli Attack! iopred's Avatar
    Join Date
    Jun 2003
    Location
    Sydney, Australia
    Posts
    923
    Additionally you have a lot of people who disable Javascript.
    Christopher Rhodes
    squarecircleco.

  2. #22
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,836
    Can it be java receiving not javascript?
    .

  3. #23
    crossconscious
    Join Date
    Sep 2005
    Location
    Belgium
    Posts
    1,188
    You can't send messages to java directly, so that's why you'd be using javascript to send messages back and forth between Flash and Java.
    But really, it's probably not worth it, except for the learning experience... Why do you need p2p so badly?

  4. #24
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,836
    It would be nice. Plus, I don't think that I can install a server on my website. So, I see this as the only other option. What servers do you suggest then? I would like to learn how to make this kind of stuff.
    .

  5. #25
    crossconscious
    Join Date
    Sep 2005
    Location
    Belgium
    Posts
    1,188
    What do you mean whith "this kind of stuff"?
    If it's a turn based multiplayer game that you want to make, you can get by with php/asp on your hosting account.

    If you want to make a realtime game, I don't know of any servers that support Flash 9 yet (using tcp sockets), but they will emerge (and might exist, I just don't know about them).

    You could try writing one yourself too (in Java, C#, C++, whatever...). But off course, this is a bit complex, and will require a server to host it on. But you can develop it without a server, using your own computer during development.

    Keep in mind that realtime multiplayer game development is a rather advanced topic (even more so when you're using p2p I guess). I consider myself a pretty good developer, and have worked on multiplayer stuff both in Flash and other languages, but it would still cause me some headaches (a lot actually). If you want to do it right, you'll have to worry about things like lag, and predicting player positions based on current movement (using splines). A whole lot of fun

    So if you want to learn about multiplayer game development, I suggest you start with a turnbased game, using PHP or something similar.

    Hope this is of any help.

  6. #26
    Senior Member
    Join Date
    Feb 2005
    Posts
    1,836
    That's the problem though, I don't really know any of those languages.
    .

  7. #27
    crossconscious
    Join Date
    Sep 2005
    Location
    Belgium
    Posts
    1,188
    That's not a problem, that's an opportunity to learn!

    Edit : serverside scripting in something like PHP is relatively easy. Just spit out xml or urlencoded documents, and open those with Flash. You could get something very simple up and running in a few days.
    Last edited by Fall_X; 07-13-2006 at 11:12 AM.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center