Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
smart AI in action games
#1
I need AI for Action games, games like Pacman (the ghosts) they sometimes follow you and some times not..
so I want to see how this works...
or how I create AI that look just like it was controlled by human in action games? Smile
Reply
#2
you're talking about two different things. In older arcade games (1980s) things like ghosts were not controlled by "ai", they moved in simple, predictable patterns. I think the ghosts in pacman moved around randomly and chased after pac when he moved within a certain range but i'm not sure.

Good game AI for a humanlike simulation is usually very difficult, and it involves a lot of programming i can't help you with.
i]"I know what you're thinking. Did he fire six shots or only five? Well, to tell you the truth, in all this excitement, I've kinda lost track myself. But being as this is a .44 Magnum ... you've got to ask yourself one question: 'Do I feel lucky?' Well, do ya punk?"[/i] - Dirty Harry
Reply
#3
is the a challenge? or a help?
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#4
In fact, pacman ghosts have some AI. each one follows a different strategy. I have to do more research. I think that one approaches, another one tries to cross in your way, and stuff like that.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#5
Quote:In fact, pacman ghosts have some AI. each one follows a different strategy. I have to do more research. I think that one approaches, another one tries to cross in your way, and stuff like that.
thats cool
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply
#6
Info to start with:

Quote:[...]To give the game some tension, some clever AI was programmed into the game. The ghosts would group up, attack the player, then disperse. Each ghost had its own AI. Blinky chases Pacman, Pinky is positioned a few dots in front of Pacman's mouth. The others move randomly. The game took 1 1/2 years to complete, and had five people on its team. [...]

More research soon Smile

EDIT: More:

Quote:In "traditional" 2d pacman, the hardest part is actually an often ignored aspect of the ghost AI -- in most versions of pacman, after ghosts are eaten, they trace along a path back to their spawning point. They don't just disappear, they actually "move" back to the center.
SCUMM (the band) on Myspace!
ComputerEmuzone Games Studio
underBASIC, homegrown musicians
[img]http://www.ojodepez-fanzine.net/almacen/yoghourtslover.png[/i
Reply
#7
cool!
[Image: sig.php]
Back by popular demand!
I will byte and nibble you bit by bit until nothing remains but crumbs.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)