A Flash Developer Resource Site

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

Thread: Fast path finding for pacman game

  1. #21
    Student
    Join Date
    Apr 2001
    Location
    -
    Posts
    4,756
    its called swarm intelligence and not so unknown in the AI science. Scientists copied the idea from the ants as a single one of them is not intelligent but in a large group they can do pretty much everything- same goes for bees.

  2. #22
    ....he's amazing!!! lesli_felix's Avatar
    Join Date
    Nov 2000
    Location
    London UK
    Posts
    1,506
    Swarm intelligence is a bit broader than that, and doesn't always involve smell, although in the case of ants it does.

    Boids are a better example of swarm intelligence AI, in fact any system that produces seemingly intelligent emergent behaviour from a few simple rules could be said to exhibit swarm intelligence.

  3. #23
    doItLikeThis
    Join Date
    Jan 2004
    Location
    :noitacoL
    Posts
    1,080
    Hmmm, I had an idea for pacman type game A.I movement last night at my way home in train. How about when we press a key for directing pacman(type) on a corner in a direction, how about registering that value at the corner tile, which will provide a roadmap for the A.I. for reaching till pacman(or anyone like him).
    -Aditya

  4. #24
    M.D. mr_malee's Avatar
    Join Date
    Dec 2002
    Location
    Shelter
    Posts
    4,139
    the smell idea could potentially take up some CPU if your going through all the tiles. Would it be feasible that when the player enters the tile he leaves a smell, a time stamp and a smell strength

    when something else needs smell information of the tile, it gets the correct strength based on the current timer - tile timer * smell strength. Would that work to speed up the proccess. Just thinking as i type
    lather yourself up with soap - soap arcade

  5. #25
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223
    Quote Originally Posted by mr_malee
    the smell idea could potentially take up some CPU if your going through all the tiles. Would it be feasible that when the player enters the tile he leaves a smell, a time stamp and a smell strength

    when something else needs smell information of the tile, it gets the correct strength based on the current timer - tile timer * smell strength. Would that work to speed up the proccess. Just thinking as i type
    I thought too it would be probably lots of work for CPU. Your idea is much faster, but it ignores the part where smell is spreading out from your current position. Even if you stand still, you send out scent signals into every direction (with some imagination you could even include wind, making possible to sneak past the enemies using wind blowing from their position to you).

    I said already its not my idea, I read about it somewhere. Cant remember right now where exactly...

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