News:

Spotted an error on the main site? Let us know!

Main Menu

Google Pacman (Be Blinky!)

Started by Jub3r7, January 23, 2011, 03:25:14 PM

Previous topic - Next topic

Jub3r7

Google Pacman has been around for a while...
but I recently discovered that pieces of the code could be edited in-game by entering codes into the address bar.

I looked up other people's codes for the game, and came across one to replace pacman by changing the image url to that of a different picture...

And so I created a different picture, uploaded it to photobucket, and replaced the replacement picture with my own...

And now... you can play as a spazzy Blinky! After clicking "Insert Coin", paste the following into the address bar:

javascript:(function(){document.getElementById('actor0').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/beblinky-1.jpg')";})()
Edit: The new code makes it where if you die, it doesn't show Pacman's dying animation and rather a flashing ghost.

javascript:(function(){document.getElementById('actor0').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/beblinky-2.jpg')";})()
AHHHH That's completely wrong, use the first one!


Everything is mostly fixed in this code:
javascript:(function(){document.getElementById('actor0').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/beblinky-3.jpg')";})()

WTF Nevermind again. One more minute and it will be fixed again.

It SHOULD be fixed this time:
javascript:(function(){document.getElementById('actor0').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/beblinky-4.jpg')";})()

Since the picture isn't perfect, whenever Blinky goes down it will look as if he were having a seizure.  :P


It's dangerous to go alone, take me with you! [JUB has joined the party.]

SlowPokemon

bahaha, I love when he dies he turns blue :D
Quote from: Tobbeh99 on April 21, 2016, 02:56:11 PM
Fuck logic, that shit is boring, lame and does not always support my opinions.

Jub3r7

Quote from: Jub3r7 on January 24, 2011, 12:26:02 PMFor some reason it runs every single one except the first one... :P

javascript:(function(){document.getElementById('actor1').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor2').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor3').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";document.getElementById('actor4').style['backgroundImage']="url('http://district.sbschools.net/ite/help/photostory/BlackBackground.BMP')";})()

Oh, cool! It turns out that the code I originally gave you would make the ghosts from Pacman in two player invisible...
so I just changed a few of the numbers around from the code you gave for one player. Thanks!

So if you go to http://www.google.com/pacman and paste/enter the code above, it makes the ghosts mostly invisible!
Thanks again for the help, MG. Now maybe I can replace the ghosts with Mystery Dungeon sprites or something...
Invisible Ghosts now available thanks to MG!

Since you are the only one who has posted so far, I'm going to make a special-themed ghost set...
It's dangerous to go alone, take me with you! [JUB has joined the party.]

Jub3r7

#3


javascript:(function(){document.getElementById('actor1').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/forslow.png')";document.getElementById('actor2').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/forslow.png')";document.getElementById('actor3').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/forslow.png')";document.getElementById('actor4').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/forslow.png')";document.getElementById('actor0').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/forslow.png')"})()


Try this code, SlowPokemon! It's really terrible quality but I think it's pretty funny.


Oh, and this code transforms pacman into...

javascript:(function(){document.getElementById('actor0').style['backgroundImage']="url('http://i923.photobucket.com/albums/ad71/Jub3r7/pacmann.jpg')"})()
It's dangerous to go alone, take me with you! [JUB has joined the party.]

SlowPokemon

Hahaha, love the apple one but hate the invisible one.
Quote from: Tobbeh99 on April 21, 2016, 02:56:11 PM
Fuck logic, that shit is boring, lame and does not always support my opinions.

SuperFireKirby

lolz, those are pretty entertaining.

Quote from: Mashi on March 26, 2013, 05:54:37 PMAfter viewing both FMA:Brotherhood and Naruto Shippuden, it would be frivolous to even consider watching an anime as unbearably mediocre as Melancholy. NARUTOxHINATA 4 LYFE!!!