[Design Deliberation] Pac-Man Ghost AI Explained

Поделиться
HTML-код
  • Опубликовано: 8 сен 2024
  • In this video I break down the behavior of Pac Mans's 4 iconic ghosts, and how they hunt Pac Man.
    Twitter Account: / chariotrideryt
    Rocket League Emergent Gameplay: • [Design Deliberation] ...

Комментарии • 139

  • @ItzAdrian02
    @ItzAdrian02 5 лет назад +131

    Blinky: The Chaser
    Pinky: The Ambusher
    Inky: The Unpredictable
    Clyde: The Dumbass

    • @smartyboy1097
      @smartyboy1097 5 лет назад +9

      Couldn’t have said it better myself

    • @ahkiureemshabazz4927
      @ahkiureemshabazz4927 3 года назад +1

      Ha ha! Clyde, the dumbass. That's rich👍🏿

    • @internetduck1114
      @internetduck1114 3 года назад +11

      Pac man: Is this the crusty crab?
      Clyde: No, this is clyde

    • @asfakmakrani4597
      @asfakmakrani4597 3 года назад

      Kki

    • @Maxi-Gonz.
      @Maxi-Gonz. 3 года назад +9

      I like to call them:
      Inky: The E-Boy
      Blinky: The Bully
      Pinky: The Stalker
      Clyde: The Evil friendly

  • @brycecollins7542
    @brycecollins7542 6 лет назад +85

    Fantastic analysis. I had no idea that any of the ghosts operated differently from one another but I can absolutely see how little changes like that were able to affect the success and longevity of the game.

  • @diacosiapentacontahex
    @diacosiapentacontahex 3 года назад +28

    It never fails to confound me why Inky was always depicted as the 'dumb' one instead of Clyde, who is clearly the stupidest of the four. Blinky takes the direct approach and Pinky tends to strategize (though the unpredictability of Pac-Man himself can usually throw her off) and Clyde is just... there, but Inky is by far not only the most complex but also the smartest of the group, being able to calculate Blinky's distance relative to the pivot two tiles in front of wherever Pac-Man is facing at all times, rotate it 180 degrees and target that position to work together with Blinky to corner Pac-Man alongside Pinky's more natural approach. He's easily the smartest ghost in the game, and it confuses me to no end why the promotional art depicted him as cross-eyed and clumsy.

    • @mohamedmustafa3991
      @mohamedmustafa3991 2 года назад

      Bhhgbbggggggg

    • @mohamedmustafa3991
      @mohamedmustafa3991 2 года назад

      Xxxx

    • @bluberrydee6205
      @bluberrydee6205 2 года назад +2

      i see it as clyde being too scared to confront pac-man up close, and inky having the least predictable behavior of the 4 can work as him being the more wacky one
      idk

    • @_antisocialmedia6377
      @_antisocialmedia6377 2 года назад +2

      Given that promotional art also used to get Blinky and Clyde's names mixed up, I wouldn't exactly treat it as the end-all on personalities

    • @eztak.
      @eztak. 2 года назад +3

      you see, acting stupid is part of his plan to take you off guard

  • @sirreality9811
    @sirreality9811 3 года назад +8

    Blinky and Pinky: Yaaaaaaay! Recess!
    10 seconds later, their Pacman senses exist:
    Blinky and Pinky: Oh fuck! We gotta kill Pacman

  • @kingtrophyguide4362
    @kingtrophyguide4362 2 года назад +8

    Blinky: The Most aggressive ghost and the responsible leader of the ghosts who always chases Pacman directly
    Pinky: Represents as the only female ghost who tries to ambush Pacman.
    Inky: The Most unpredictable ghost who scares easily for some reason. Sometimes he can also chase Pacman aggressively like Blinky.
    Clyde: The only ghost who acts mostly stupid, but only if sees Pacman, he retreats.

  • @FictionFactoryGames
    @FictionFactoryGames 6 лет назад +113

    It's kind of a shame that such a rich series of interwoven AI are generally ignored by top-tier players, who are operating off memorized patterns. There's no true randomness so it's designing a path that always completely avoids ghosts is possible.

    • @McD_James
      @McD_James 6 лет назад +12

      Fortunately, Ms. Pac-Man was able to correct this issue.

    • @veggiet2009
      @veggiet2009 6 лет назад +11

      I don't know if they're ignoring them, but rather acknowledging that they are in fact predictable, they only seem clever or random, but as the video just explained they will always do certain things at certain points in the game. That predictability is what allows that pattern to be constructed in the first place.

    • @mnurularifin9804
      @mnurularifin9804 5 лет назад

      Ismaiying

    • @robertcollins596
      @robertcollins596 2 года назад

      Lol E

    • @sakalanarsimlu1750
      @sakalanarsimlu1750 Год назад

      @@McD_James mkmjyhggvvggggggggz

  • @rubikonium9484
    @rubikonium9484 4 года назад +7

    11:05 the bug in the code is caused by an overflow error in the vector code which treats the X and Y 8 bit vectors as a single 16 bit vector.
    Left: 01 00
    Right: FF 00
    Down: 00 01
    Up: 00 FF
    The up vector is bugged as the FF in the Y vector when multiplied decreases, but what should have been discarded instead rolls over into the X vector.
    Examples: (00 FF) * 4 = (00 3FC) which instead of discarding the 3 (00, (3)FC), the 1 rolls over into the X vector (*03* FC)
    examples: 00FF = (1, -1)
    01FE = (2, -2)
    02FD = (3, -3)
    03FC = (4, -4)
    A possible fix to the up vector is to set the Y AND X vectors to FF (so FF FF), so that when the vector is multiplied (e.g. ×2 = 1FF FE) the overflow is discarded. (1FF FE -> FF FE)
    This is evident when adding the vectors
    Adding these vectors to, say, (2A, 2C):
    Adding left vector: (2B, 2C)
    Adding right vector: (129, 2C) -> (29, 2C)
    Adding down vector: (2A, 2D)
    Adding current (bugged) up vector: (2A, 12B) -> (2B, 2B)
    Adding fixed up vector: (129, 12B) -> (12A, 2B) -> (2A, 2B)
    Leave comments if you have a different reason of the bug

    • @dumb_logan
      @dumb_logan 4 года назад

      What did I just experience

  • @round5soundsfetchmetheirso827
    @round5soundsfetchmetheirso827 4 года назад +16

    So Blinky is the only threatening AI, the rest are just moving death sprites that are there for you to accidentally bump into.

  • @Insanityltself
    @Insanityltself Год назад +2

    That awkward moment when Clyde is the one who catches you

  • @johnmclean5691
    @johnmclean5691 4 года назад +4

    I still remember getting to the countless keys I got. I had my patterns down. Good stuff

  • @discontinuedfornow.4329
    @discontinuedfornow.4329 6 лет назад +14

    Blinky:Aggressive and Hard to break.
    Pinky:Stays behind Blinky or Inky.
    Inky: Questionable?
    Clyde:Lazy and dosen't attack you but can still kill you.

  • @DJNX4995
    @DJNX4995 3 года назад +5

    Blinky is the only ghost that targets the player wow

    • @kingtrophyguide4362
      @kingtrophyguide4362 2 года назад +2

      Yes, Blinky's always aggressive. He's also the responsible leader of the ghosts.

    • @user-to7up1dl3d
      @user-to7up1dl3d 2 года назад +2

      Yes, Blinky is the one that chases you.
      Also, Pinky is the one that gets in front of you to cut you off, Inky thinks of a strategy to corner you, and Clyde is the scared one that plays dumb to catch Pac-Man off guard.

  • @westcoastbred7745
    @westcoastbred7745 3 года назад +3

    My childhood nostalgia. I miss this game

  • @ahkiureemshabazz4927
    @ahkiureemshabazz4927 3 года назад +2

    I❤ this video and all of the info
    Just got this on PS4. Been playing since the 80s. Pac😁Man just got much more fun.
    Thanks man👍🏿

  • @blackturbine
    @blackturbine 5 лет назад +4

    12:01 whistle

    • @SpeckyYT
      @SpeckyYT 5 лет назад

      Lol, I can hear it too

  • @raresideb
    @raresideb 3 года назад +1

    To anyone who tries to say RGEX's video is better...well, you're right, but keep in mind this video came out in 2017. On that note, great work!

    • @Chariot_Rider
      @Chariot_Rider  3 года назад +1

      That video is most certainly better. I made this video as my second attempt at this sort of "video essay" style, and looking back on the video I am not entirely happy with it because it isn't super reflective my content nowadays. I made this video when I was still in high school, and I have learned a lot about writing and video production in the years since this video was released

  • @user-up5oh1uo9d
    @user-up5oh1uo9d 6 лет назад +8

    Wait what's the point of Clyde (apart from being adorable)
    I thought it was gonna be "Clyde's Corner" where basically he just guards/moves around the corner *neighbouring* the players current corner until the player comes in close and he targets them.

    • @alstewart3809
      @alstewart3809 5 лет назад

      To scare the player and then go were the other 3 ghost can fight him

    • @Maxi-Gonz.
      @Maxi-Gonz. 3 года назад +7

      It's a support class ghost who tries to scare the player unaware of his movement pattern

    • @shouldbeyoyo
      @shouldbeyoyo 2 года назад

      scares the player, but if he manages to catch you while he goes to his corner and you get in his way

  • @terepashinogenjitsu
    @terepashinogenjitsu 2 года назад +1

    "please pardon my Japanese pronunciation" *proceeds to pronounce everything correctly with no difficulty*

  • @GmanMilli
    @GmanMilli 6 лет назад +1

    A useful cheat for training while playing would be showing each ghost's target and turn decision for its upcoming intersection. This would have been a useful debugging tool as well.

  • @victormgv
    @victormgv 6 лет назад +3

    Well done! Seriously great content and Barney Style breakdown; LOVING IT

  • @rileymurphy5396
    @rileymurphy5396 6 лет назад +19

    I know it's "elroy", but can we just call it "LEEROY JENKINS!"?

  • @bluberrydee6205
    @bluberrydee6205 2 года назад +1

    i see speedy as "trying to speed ahead" of pac man

  • @simonmaracine4721
    @simonmaracine4721 6 лет назад +2

    I like the ending.

  • @sirkowski
    @sirkowski 6 лет назад +30

    Is Clyde a tsundere?

  • @GmanMilli
    @GmanMilli 6 лет назад +2

    11:50 I've read that its 2 spaces in front (unlike Pinkys 4 tiles in front) determines the midpoint of the 2nd vector. Can provide some links.

  • @gabejackson1958
    @gabejackson1958 5 лет назад +22

    Clyde is up to something and I don't like it.

  • @KingofKong
    @KingofKong 6 лет назад +2

    Really nice review, very accurate.

  • @DowntownWithBrown
    @DowntownWithBrown 5 лет назад +3

    The ghosts were not given genders until the Pac-Man World series, so arguably Pinky was male like the rest of them in the arcade era. Minor unimportant note.

    • @raylewis60
      @raylewis60 3 года назад +1

      not true theres some artwork that shows that Pinky is indeed female

  • @victordennis9913
    @victordennis9913 6 лет назад +15

    Does this AI also exist in Ms. Pac Man?

    • @Chariot_Rider
      @Chariot_Rider  6 лет назад +17

      I haven't done a super deep look into Mrs. Pac Man's AI but from what I have heard it added more random elements to the behaviors. The general feel of each of the ghosts was similar with randomness thrown in. That's why Mrs. Pac Man was a lot harder for high level players because they couldn't rely so much on patterns. In fact I think it took a highly trained computer from Microsoft to beat the game with a perfect score.

    • @Chariot_Rider
      @Chariot_Rider  6 лет назад +6

      I also forgot to mention that Toru Iwatani was not involved with Mrs. Pac Man's develpment was handled by Midway, the American company that helped Namco bring Pac Man to the west so he had no say in the changes made from one version to the next because he worked for Namco, not Midway.

    • @llSuperSnivyll
      @llSuperSnivyll 5 лет назад +1

      As far as I understand, it's the same AI, but they have some random elements added to prevent perfect play patterns from happening.

    • @trifortay
      @trifortay 5 лет назад

      Someone said it does the some thing Ms Pac Man's has an ai to make harder because it is possible to beat Pac Man with a certain pattern every time. In Ms. Pac Man good luck with that pattern

  • @TuangDheandhanoo
    @TuangDheandhanoo 6 лет назад +1

    I learn a lot of new things today. Thank you so much!

    • @6kourte650
      @6kourte650 6 лет назад

      which is your favorite gohst mines is inky he is sooooooooo unpredictable

  • @bigboygoomba5421
    @bigboygoomba5421 2 года назад +1

    The only thing that I am looking for is what their names is

  • @edsbegaming507
    @edsbegaming507 5 лет назад +13

    I honestly thought everyone knew that each ghost acted differently 😅

  • @40watt53
    @40watt53 6 лет назад +2

    can you do one for pacman 256 the only patterns i know are
    pinky: when player is in the same line and pinky they will run in that direction until hitting a wall
    spunky: doesnt move until a player is near then chases the player for a few seconds then falls back asleep
    inky: goes around an object
    sue: stays in groups of 3 tries to block the player from going forwards
    funky: bounces from the left to the right in groups of 4
    im not sure about these next ones
    blinky: appears in later game tries to get infront of player
    clyde: blinky but more calm
    but i dont got a clue about glitchy

  • @Seventeen_Seconds
    @Seventeen_Seconds 2 года назад

    Ahhhh those were the days ❤️

  • @warmac88
    @warmac88 5 лет назад +1

    Great video bro

  • @jonasphilbert6175
    @jonasphilbert6175 6 лет назад +4

    Great video!

  • @kiltadvocate
    @kiltadvocate 6 лет назад +1

    Very deep. 🌟 Thanks for sharing.

  • @mishmeshmonster2482
    @mishmeshmonster2482 6 лет назад

    Brilliant video! Super informative and well presented.

  • @Rodney.Gardner
    @Rodney.Gardner 6 лет назад +3

    Typo at 1:17 ? Should be 288 instead of 228?

  • @twizzpaw900
    @twizzpaw900 3 года назад +3

    Hey everyone I've been looking through the Pac-Man Fan wiki on all the Ghost listed and for some reason there is this ghost character named, "Plonky". They were the only ghost character to get deleted from the wiki and I wanna who they are, if anyone finds anything send a reply. I just find it weird you know, out of all the crazy Pac-ghost I have heard and looked up, this one is just gone.
    Weird...

    • @camelpenguin
      @camelpenguin 2 года назад

      Hey! Your comment is 1 year old, and I'm the first person to reply to you, how's it been? I wanna know more about this "plonky" ghost, i hope you're still around

    • @camelpenguin
      @camelpenguin 2 года назад

      Bro why u deleted your reply

    • @twizzpaw900
      @twizzpaw900 2 года назад +1

      @@camelpenguin Idk, maybe by accident???...

    • @camelpenguin
      @camelpenguin 2 года назад

      @@twizzpaw900 what did u said

    • @twizzpaw900
      @twizzpaw900 2 года назад

      @@camelpenguin Can you see my replay at all???????..........:(

  • @sa3270
    @sa3270 5 месяцев назад

    I've been wondering if Pac-Man's route during the demo sequence is an "AI", or just a simple explicitly coded route.

  • @commandershirakamifubukiav9680
    @commandershirakamifubukiav9680 3 года назад +1

    blinky:what the hell pac man
    pac man:eat blinky lmao

  • @LXW-Arts
    @LXW-Arts 5 лет назад +1

    Cylde was like fuck the Pixel movie size pacman

  • @waffle5422
    @waffle5422 5 лет назад +2

    What about pac mania?

  • @nachfullbarertrank5230
    @nachfullbarertrank5230 6 лет назад +15

    BASED ON HIS ORIGINAL JAPANESE NAME

  • @malismedicoremusicalmedia
    @malismedicoremusicalmedia 5 лет назад +2

    Thumbs up if you say shadow speedy bashful and pokey
    Blinky. Pinky. Inky. And clyde

  • @sunnymon1436
    @sunnymon1436 6 лет назад +4

    Was this video later stolen by the "Today I Learned" Channel?

    • @Chariot_Rider
      @Chariot_Rider  6 лет назад +3

      Sunny Mon It is possible but I don’t think so. A lot of the research for this video came from a certain gamasutra article which laid out the specifics behind the Pac Man AI. In the description the the “Today I Learned” video they lost their sources and sure enough the same article was there. It is probably a coincidence.

  • @karlitaavatar4430
    @karlitaavatar4430 6 лет назад

    Silly Clyde

  • @brilliantarrow4125
    @brilliantarrow4125 6 лет назад

    Great video man! Just one quick question... the fuck does inky do again??

  • @andreap28
    @andreap28 3 года назад +1

    Its not al it’s all

  • @Eventlesstew
    @Eventlesstew 2 года назад

    5:05 What are the exact Power Pellet times per level?

  • @montyoso
    @montyoso 6 лет назад

    Great video.

  • @Dude408f
    @Dude408f 6 лет назад

    This was interesting. I hated the game in the past and I still do, but your information is very good :)

  • @CrustyConnor
    @CrustyConnor 6 лет назад +1

    3:26, "The top left corner belongs to Pinky, The top left to Blinky" ???

    • @busterbackster1
      @busterbackster1 6 лет назад +1

      Straight Wormin he has a text correction

  • @cheriftekouk7870
    @cheriftekouk7870 6 лет назад +2

    BLINKEY is still the hottest one for me

  • @blucatt1k
    @blucatt1k 3 года назад

    Here before 1million views y'all

  • @kittyweeb5293
    @kittyweeb5293 6 лет назад +1

    You’re overthinking this

    • @dumb_logan
      @dumb_logan 4 года назад

      Oh thank God I'm not the only one

  • @SS-pm3px
    @SS-pm3px Год назад

    1:04

  • @SS-pm3px
    @SS-pm3px Год назад

    1.04

  • @infinite1der
    @infinite1der 6 лет назад

    The ghosts are not using an AI. Their movements are controlled by an algorithm.

    • @tiporial
      @tiporial 5 лет назад +4

      Yep, that's an AI!

  • @SS-pm3px
    @SS-pm3px Год назад

    8:21

  • @erickvazquez2415
    @erickvazquez2415 Год назад

    I feel like the ghost need to be smarter

  • @daniyusra
    @daniyusra 6 лет назад

    Good stuff dude!

  • @-_bananaman_-5042
    @-_bananaman_-5042 6 лет назад

    This video have some real research is it?

    • @javiehr
      @javiehr 6 лет назад

      yes literally everything he said was tru

  • @colinedwards3237
    @colinedwards3237 6 лет назад

    Here's a video demonstrating some of the concepts discussed
    ruclips.net/video/Yy1o4RQ848A/видео.html

  • @BandicootMilk
    @BandicootMilk 6 лет назад +1

    they ruined the ai on facebook they act like a tryhard player

  • @bommy9857
    @bommy9857 6 лет назад

    Hey level 18 is very short time but they do turn blue for a split seciund. A nes video if gameplay actually ahows the person beating a ghost with as soon as he ate the pellete, then it went back just then. Proving your statement wrong

  • @Summeryear2008
    @Summeryear2008 6 лет назад

    4:09 Does the timer reset if they enter Frightened Mode? I'm watching this video on youtube: ruclips.net/video/AuoH0vz3Mqk/видео.html
    I'm just wondering. I'm studying the chart, although it's useless to try in my room here because I lost my Sega a long time ago, and I don't know how to get it to work again.

    • @Chariot_Rider
      @Chariot_Rider  6 лет назад +1

      So I just booted up Pac Man and did some quick tests. It would appear that when the ghosts enter frightened mode their phase timer pauses. When they leave frightened mode they resume their pattern. So I eat a power pellet 10 seconds into the 20 second chase phase, the ghosts will be in chase mode for 10 seconds after they exit frightened mode. Hopefully this answers your question.

  • @yellowsunshine7099
    @yellowsunshine7099 6 лет назад +1

    Is this real

  • @sansdeskeleton2842
    @sansdeskeleton2842 6 лет назад

    Aw CRAP I can't kill anybody maybe the other four ghosts can do our job

  • @catman1900
    @catman1900 6 лет назад +1

    awesome video!

  • @daniyusra
    @daniyusra 6 лет назад

    Good stuff dude!