A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Multiplayer Game

  1. #1
    Member
    Join Date
    Jul 2006
    Posts
    56

    Multiplayer Game

    I have already implemented the game Pong where you play against the computer using 3DFA. Is it possible for me to take it to the next level and have a second person login to the server and play head to head?

  2. #2
    Senior Member sadako232's Avatar
    Join Date
    Mar 2006
    Posts
    153
    umm, with pong i think not unless u have a server like Nebulae but SQL cant do fast multiplayer game, unless its a game like darts where each person takes a turn.

    ask forumnoobie or CONNElite for more Info

  3. #3
    Game Master ConnELITE's Avatar
    Join Date
    Apr 2005
    Location
    United States, DC
    Posts
    474
    Yeah, I would say what sadako232 said. Flash is simply not fast enough to play real time multiplayer games in, however, you can make multiplayers games that were turn based. To get you started though, take a look at this thread http://board.flashkit.com/board/showthread.php?t=654265.

    You can see some multiplayer games here
    http://www.morgan-multinational.com
    BC

  4. #4
    A Senior Newbie - How Odd ForumNewbie's Avatar
    Join Date
    Mar 2003
    Posts
    590
    Hiya,

    I'd agree that fast moving games would be pretty tricky to do, but the world really is your oyster if it comes to turn based games.

    If you can master something like the PHP/mySQL interactions, or the XML Socket connectivity, then the limit is really just your imagination.

    However, learning this stuff isn't for the faint hearted. I nearly pulled all my hair out when doing the darts game, and it took me the best part of 3 months, spending most evenings doing a couple of hours on it. Having said that, I find it really rewarding, and I'm trying to think how I can use the XML socket connectivity to build a multiplayer tanks game, or simple bat and ball game next. I think the speed of the socket connection method might be just enough to get away with a faster moving game. I'm seeing response times of about 0.3 seconds, against the PHP/mySQL method of 3-4 seconds.

    Once you've got through the tutorial above, give us a shout if you need any help and I'll try and help you through

    Good luck,

    Morgan.
    Please note that my domain has changed to http://www.morganmultinational.com

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