Friday, May 21, 2010

Pacman on Google

Today, Google publish a pacman logo to celebrate pacman's 30th birthday. However, have you awared that the logo is playable and it is done by div tag, one image, css and javascript.


More than that, the most exciting thing is it is open, so that you can see the source code and to study it.

the javascript source code is available on http://www.google.ca/logos/js/pacman10-hp.2.js. and you can see a formated code here.

and you can check the html source code which is relatedto pacman and well formated here.

and the only image is


So, those are all you need to made a pacman game on a page.

No comments:

Post a Comment