Giter VIP home page Giter VIP logo

google_pacman's Introduction

Google Pacman
-------------

This is a copy of Google's playable Pacman game logo hosted for
Pacman's 30th Anniversary.

With the help of StackOverflow users, we were able to get a playable
version working.

To play a live version: http://macek.github.com/google_pacman/

Or download the source and run it offline.





Confusion Surrounding Audio Bug
-------------------------------
When this repository was originally created, Google was using:
  
  logos/js/pacman10-hp.2.js
  logos/pacman10-hp-sprite.png

They have since updated to:

  logos/js/pacman10-hp.3.js
  logos/pacman10-hp-sprite-2.png

As you can see, the new sprite features a mute button. Those playing on
a webserver should have a fully functioning game now. However, music
and sound do not work when playing locally.



@winwakr found this fix for the time being:

A snippet from Adobe.com

    For example, a trusted local HTML file may permit an untrusted local
    SWF to script it by setting allowScriptAccess="always". However, an 
    untrusted local HTML file may never permit an untrusted local SWF to
    script it, regardless of the value of allowScriptAccess.

To have flash trust your local SWF, you must add your `google_pacman`
folder to the allow list using your Flash Control Panel.
  
  1. Adobe Flash Control Panel:
     http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager03.html
  
  2. Click `Edit Locations`
  
  3. Click `Add Location`
  
  4. Browse to your `google_pacman` directory
  
  5. Click `Add`

Read more about this issue here:
http://www.adobe.com/devnet/flash/articles/fplayer8_security_09.html





Wishlist
--------
1. Get sound working (when playing locally)
2. Strip out unnecessary Google code





Thanks to:
----------
SteD for providing a nicely formatted version of pacman10-hp.2.js

Skizo for noticing that relative paths don't work as expected when
executed locally.

Mason Barry for cleaning up the homepage, adding a nice starting graphic,
and fixing the `Insert Coin` button

KevinCathcart for recommending we setup a live version on the `gh-pages` branch.

google_pacman's People

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.