[Design Deliberation] Pac-Man Ghost AI Explained
ฝัง
- เผยแพร่เมื่อ 11 ธ.ค. 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] ...
Blinky: The Chaser
Pinky: The Ambusher
Inky: The Unpredictable
Clyde: The Dumbass
Couldn’t have said it better myself
Ha ha! Clyde, the dumbass. That's rich👍🏿
Pac man: Is this the crusty crab?
Clyde: No, this is clyde
Kki
I like to call them:
Inky: The E-Boy
Blinky: The Bully
Pinky: The Stalker
Clyde: The Evil friendly
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.
Bhhgbbggggggg
Xxxx
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
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
you see, acting stupid is part of his plan to take you off guard
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.
ll
opp
@@mithujasimuddin7795 you Dr Richard episode regards e and Dr 😊😊e 😊😊 re e
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.
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
What did I just experience
Blinky and Pinky: Yaaaaaaay! Recess!
10 seconds later, their Pacman senses exist:
Blinky and Pinky: Oh fuck! We gotta kill Pacman
unrelated but at 7:52, when blinky moves he magically erases the apple lol
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.
Fortunately, Ms. Pac-Man was able to correct this issue.
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.
Ismaiying
Lol E
@@McD_James mkmjyhggvvggggggggz
That awkward moment when Clyde is the one who catches you
I still remember getting to the countless keys I got. I had my patterns down. Good stuff
So Blinky is the only threatening AI, the rest are just moving death sprites that are there for you to accidentally bump into.
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.
Blinky is the only ghost that targets the player wow
Yes, Blinky's always aggressive. He's also the responsible leader of the ghosts.
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.
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👍🏿
"please pardon my Japanese pronunciation" *proceeds to pronounce everything correctly with no difficulty*
Well done! Seriously great content and Barney Style breakdown; LOVING IT
12:01 whistle
Lol, I can hear it too
Is Clyde a tsundere?
Yep.
Could it be that you're craving my power pellets, Pac-Kun?
sirkowski No, he is a ghost that drinks alcohol for no reason
Clyde is up to something and I don't like it.
If anything, Inky is more up to smt than Clyde
Hahahaha
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!
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
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...
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
Bro why u deleted your reply
@@camelpenguin Idk, maybe by accident???...
@@twizzpaw900 what did u said
@@camelpenguin Can you see my replay at all???????..........:(
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.
Kjkojbpn po
Typo at 1:17 ? Should be 288 instead of 228?
Does this AI also exist in Ms. Pac Man?
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.
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.
As far as I understand, it's the same AI, but they have some random elements added to prevent perfect play patterns from happening.
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
I learn a lot of new things today. Thank you so much!
which is your favorite gohst mines is inky he is sooooooooo unpredictable
I know it's "elroy", but can we just call it "LEEROY JENKINS!"?
Really nice review, very accurate.
Brilliant video! Super informative and well presented.
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
Glitchy is the same as blinky but randomly teleports
i see speedy as "trying to speed ahead" of pac man
5:05 What are the exact Power Pellet times per level?
Great video bro
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.
not true theres some artwork that shows that Pinky is indeed female
I like the ending.
Very deep. 🌟 Thanks for sharing.
I honestly thought everyone knew that each ghost acted differently 😅
BASED ON HIS ORIGINAL JAPANESE NAME
The only thing that I am looking for is what their names is
Great video!
Ahhhh those were the days ❤️
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.
What about pac mania?
I've been wondering if Pac-Man's route during the demo sequence is an "AI", or just a simple explicitly coded route.
Thumbs up if you say shadow speedy bashful and pokey
Blinky. Pinky. Inky. And clyde
Pacman kind of looks like a fortune cookie
This was interesting. I hated the game in the past and I still do, but your information is very good :)
Was this video later stolen by the "Today I Learned" Channel?
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.
Great video.
Cylde was like fuck the Pixel movie size pacman
3:26, "The top left corner belongs to Pinky, The top left to Blinky" ???
Straight Wormin he has a text correction
Great video man! Just one quick question... the fuck does inky do again??
Here before 1million views y'all
blinky:what the hell pac man
pac man:eat blinky lmao
Good stuff dude!
BLINKEY is still the hottest one for me
yes daddy harder
The fuck!
Clyde does it for me
This video have some real research is it?
yes literally everything he said was tru
Its not al it’s all
Silly Clyde
The ghosts are not using an AI. Their movements are controlled by an algorithm.
Yep, that's an AI!
1:04
4:09 Does the timer reset if they enter Frightened Mode? I'm watching this video on youtube: th-cam.com/video/AuoH0vz3Mqk/w-d-xo.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.
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.
8:21
You’re overthinking this
Oh thank God I'm not the only one
My childhood nostalgia. I miss this game
they ruined the ai on facebook they act like a tryhard player
I feel like the ghost need to be smarter
Here's a video demonstrating some of the concepts discussed
th-cam.com/video/Yy1o4RQ848A/w-d-xo.html
1.04
Is this real
friskyboi dreemurr is anything real?
Is my virginity real?
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
Aw CRAP I can't kill anybody maybe the other four ghosts can do our job
Yep Spunky punky funky and sue
And maybe betrayus Spooky Tim And others
awesome video!
Good stuff dude!