June May 23 news: Yesterday Google launched a LOGO game on every homepage around the world to commemorate the 30th anniversary of the toy game. I found today that Google's LOGO is still a toy game, many friends asked the fire about the implementation of the LOGO. Obviously, this was written in Javascript, so there is still a sound. What is the reason? After analysis, we found that there is also the existence of Flash, I wanted to take some time to study it. But today I am lucky to see the source code in coolshell, so I will share it with you.
First, let's take a look.Google bean game Logo in the fire demonstration:Click here
Download the source code here: google_pacman.rar
Note that the source program won't sound on your local machine, because it has something to do with flash settings. If you need a game sound, you also need the following settings:
1. Open Adobe Flash Control Panel:
Http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html
2. Click 'edit Locations'
3. Click 'add location'
4. browse your 'Google _ pacman 'directory
5. Click 'add'
It should be noted that this source program is not officially released by Google, but released by some good-looking netizens. I don't know if I will see this Logo in the Google Logo archive in the future. By the way, according to the official Google BLOG, this program was developed by Marcin Wichary and Ryan Germick. The answer is: "If an application can be implemented by Javascript, it will eventually be implemented by Javascript ".