A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Multiplayer Fridge Magnets

  1. #1
    Manic
    Join Date
    Jan 2004
    Location
    Denmark
    Posts
    154

    Multiplayer Fridge Magnets

    Im currently making a project for a client using red5, and as a part hereof I wrote a little fridge magnets game as my first test.

    Its nothing fanzy and it has been done 100 times before, still wanted to show however

    http://nonoba.com/chris/fridge-magnets

  2. #2
    Senior Member martin47's Avatar
    Join Date
    Dec 2000
    Posts
    413
    Im getting into FMS2 and I just wanted to ask you if the logic of the game is that you have one shared object for each letter or you do it in a different way.

    Thanks.

    M.
    http://www.drakon.com.ar

  3. #3
    Wait- what now? tidenburg's Avatar
    Join Date
    Dec 2005
    Posts
    1,471
    Holy crap, I forgot about nonoba! :P
    I'm going to get into leaving creepy messages on the fridge...
    "I'd only told them the truth. Was that so selfish? Our integrity sells for so little, but it is all we really have. It is the very last inch of us, but within that inch, we are free."

  4. #4
    Manic
    Join Date
    Jan 2004
    Location
    Denmark
    Posts
    154
    Quote Originally Posted by martin47
    Im getting into FMS2 and I just wanted to ask you if the logic of the game is that you have one shared object for each letter or you do it in a different way.

    Thanks.

    M.
    Using a shared object for each letter would indeed work, however for the task I am doing for this client I need have shared data which the clients cannot change directly (Think of a game where you want to prevent cheating) therefore this letter game is implemented using RPC calls to and from the client.

    Again letters is a pretty simple thing to do, and when I get around to it I will release the source.

  5. #5
    Manic
    Join Date
    Jan 2004
    Location
    Denmark
    Posts
    154
    Quote Originally Posted by tidenburg
    Holy crap, I forgot about nonoba! :P
    I'm going to get into leaving creepy messages on the fridge...
    Hey, don't leave us like that!

    To be honest not much have been going on on the surface, so I do not blame you. We do however still want your awesome games at our site (that applyes to you to random reader!)

    Last, did you see the much speed improved sand thingie?
    http://nonoba.com/chris/sand-toy

    /Chris

  6. #6
    Junior Member
    Join Date
    Sep 2000
    Location
    istanbul
    Posts
    24

    nanoba

    There are really nice games on this site.
    the speed of sand toy is unbelievable, i never start a project like this because of flashes speed problems and limited number of loops. I guess you found nice algoritm for particle engine in that game.

    You can put some buckets to fill with same colors at the bottom of the screen.
    I saw a game like this, and if the lines disapear in time, this can be tricky and fun.

    ofcourse multiplayer mode can be fun.. but particles and multiplayer they don't like each other

  7. #7
    Manic
    Join Date
    Jan 2004
    Location
    Denmark
    Posts
    154
    Quote Originally Posted by 404 File Not Found
    There are really nice games on this site.
    the speed of sand toy is unbelievable, i never start a project like this because of flashes speed problems and limited number of loops. I guess you found nice algoritm for particle engine in that game.

    You can put some buckets to fill with same colors at the bottom of the screen.
    I saw a game like this, and if the lines disapear in time, this can be tricky and fun.

    ofcourse multiplayer mode can be fun.. but particles and multiplayer they don't like each other
    To be hunrst I wasted way to much time trying to tweek more power out of the flash engine. I actually also promised a few people here to open source the thing but have never gotten around to cleaning up the code to an extend where I felt good about it.

    In the end it comes down to algorithms for moving the particles, writing something that is fast and acts correct turned out to be quite the challenge, and after wasting a week on it or so I only managed to implement two materials. Water and Sand.

    Notice here that a new element must be able to interact with all the other elements making it slower each time you add a new material, and in this an extra if or two in the loop means the world.

    /Chris

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