~~~~~Welcome to 2 player Pac Man!~~~~~ You move Pac Man with the arrow Keys You move the Ghost with WASD The objective of the Ghost is to catch Pac Man The objective of Pac Man is to run away and not get caught for 1 minute and catch the Ghost when the Switch Orb is collected The switch orb will spawn on the map at a random location every 10-35 seconds. If Pac Man collects the orb, they will have 5 seconds to catch the ghost when they turn into a blue ghost. The Blue Ghost cannot use power ups and their speed is decreased. To make the game more exiting there are power ups Pac Man has 4 power ups 1: Clicking space will teleport you to your home space 2: Clicking M will teleport you to a random position 3: Clicking L gives a a speed buff 4: Clicking K lets you go through walls for 5 seconds, then afterwards teleport to a random location The Ghost has 4 power ups 1: Clicking E will teleport you and any spawned clones to your home space 2: Clicking R will spawn 10 clones of the Ghost, these clones cant hurt Pac Man and is only intended to disorientate them 3: Clicking Q will spawn a trap that if Pac Man touches he will die 4: Clicking F will spawn a blue trap that if Pac Man touches he will die but, it only has a 50% chance of success When you use some ability's it will have a cooldown until you can use it again this is indicated by the rainbow flash There are holes in the wall which can make Pac Man teleport to the opposite side if ran into. Btw the play again button doesn't work, just click the green flag again Pac Man gets a 3 second head start before the ghost can move. You can gauge how long until ghost can move based on a little bit before the home indicators disappear ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There are ALOT of bugs so please comment if you find one and if you can a way on how to fix it ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ That is pretty much it so have fun :D
~~~UPDATE~~~ 5/27/25~~~~~ ****POWER UP OVERHAUL UPDATE***** ----------------------------------------------------------------------- : Ghost Has 2 Traps! however there is a 50% chance that the blue trap will activate, 2 second iframe (F) : Pac Man has a speed buff ability (L) : Pac Man can phase through walls! (K) :Thumbnail adjustment : New sound effects This update was really hard to make and there are still a lot of bugs, I wont be able to update the game for a while after this update, the day I'm writing this is 5/27/25 so if this game somehow gets popular, uhh sorry cant update. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ There is a major bug making Pac Man teleport randomly after hitting a wall. IF anyone could help that would be greatly appreciated! Update: Okay I think I made the bug happen a bit less often but its still there There is also a bug where the 2 music; main/harmony tracks desync? I'm not sure how to replicate it. To assist debugging I added notes to the script to explain what is happening ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This is a revamped version of my previous Pac Man tag from a while ago -Special thanks to "CupcakeMelody15" for testing and suggesting ideas to this game!-