new file: Files/flashplayer_32_sa.exe new file: favicon.ico new file: globe.gif new file: imgs/download.png new file: imgs/zuck.jpg new file: index.html new file: other.ico new file: script.js new file: site.webmanifest new file: sitemap.html new file: styles/backround.css new file: styles/border.css new file: styles/fonts/Titillium_Web/OFL.txt new file: styles/fonts/Titillium_Web/TitilliumWeb-Black.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Bold.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-BoldItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-ExtraLight.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-ExtraLightItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Italic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Light.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-LightItalic.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-Regular.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-SemiBold.ttf new file: styles/fonts/Titillium_Web/TitilliumWeb-SemiBoldItalic.ttf new file: styles/fonts/webfontkit-20221027-163353/generator_config.txt new file: styles/fonts/webfontkit-20221027-163353/specimen_files/grid_12-825-55-15.css new file: styles/fonts/webfontkit-20221027-163353/specimen_files/specimen_stylesheet.css new file: styles/fonts/webfontkit-20221027-163353/stylesheet.css new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-demo.html new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff new file: styles/fonts/webfontkit-20221027-163353/titilliumweb-extralight-webfont.woff2 new file: styles/fonts/webfontkit-20221027-165950/generator_config.txt new file: styles/fonts/webfontkit-20221027-165950/specimen_files/grid_12-825-55-15.css new file: styles/fonts/webfontkit-20221027-165950/specimen_files/specimen_stylesheet.css new file: styles/fonts/webfontkit-20221027-165950/stylesheet.css new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-demo.html new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff new file: styles/fonts/webfontkit-20221027-165950/titilliumweb-bold-webfont.woff2 new file: styles/style.css new file: tools/2048/.gitignore new file: tools/2048/.jshintrc new file: tools/2048/CONTRIBUTING.md new file: tools/2048/LICENSE.txt new file: tools/2048/README.md new file: tools/2048/Rakefile new file: tools/2048/favicon.ico new file: tools/2048/index.html new file: tools/2048/js/animframe_polyfill.js new file: tools/2048/js/application.js new file: tools/2048/js/bind_polyfill.js new file: tools/2048/js/classlist_polyfill.js new file: tools/2048/js/game_manager.js new file: tools/2048/js/grid.js new file: tools/2048/js/html_actuator.js new file: tools/2048/js/keyboard_input_manager.js new file: tools/2048/js/local_storage_manager.js new file: tools/2048/js/tile.js new file: tools/2048/meta/apple-touch-icon.png new file: tools/webretro/cores/neocd_libretro.js new file: tools/webretro/cores/neocd_libretro.wasm new file: tools/webretro/cores/nestopia_libretro.js new file: tools/webretro/cores/nestopia_libretro.wasm new file: tools/webretro/cores/o2em_libretro.js new file: tools/webretro/cores/o2em_libretro.wasm new file: tools/webretro/cores/opera_libretro.js new file: tools/webretro/cores/opera_libretro.wasm
159 lines
5.3 KiB
Markdown
159 lines
5.3 KiB
Markdown
pacman-canvas
|
|
=============
|
|
|
|
An old classic, re-written in HTML5.
|
|
Visit http://pacman.platzh1rsch.ch to see it live.
|
|
|
|
Sounds from
|
|
http://soundfxcenter.com/ and http://soundfxnow.com/
|
|
|
|
------
|
|
|
|
License
|
|
=======
|
|
|
|
Feel free to use / copy / modify my code, as long as you reshare your version and give some credit to the original author (me).
|
|
|
|
<a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/"><img alt="Creative Commons License" style="border-width:0" src="https://i.creativecommons.org/l/by-sa/4.0/88x31.png" /></a><br /><span xmlns:dct="http://purl.org/dc/terms/" property="dct:title">Pacman Canvas</span> by <a xmlns:cc="http://creativecommons.org/ns#" href="http://platzh1rsch.ch" property="cc:attributionName" rel="cc:attributionURL">Platzh1rsch</a> is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">Creative Commons Attribution-ShareAlike 4.0 International License</a>.<br />Based on a work at <a xmlns:dct="http://purl.org/dc/terms/" href="https://github.com/platzhersh/pacman-canvas" rel="dct:source">https://github.com/platzhersh/pacman-canvas</a>.
|
|
|
|
------
|
|
|
|
Version history
|
|
===============
|
|
|
|
*Version 0.92 - 6.3.2018*
|
|
* remove navigator.vibrate() calls
|
|
|
|
*Version 0.91 - 15.01.2016*
|
|
* more tests to avoid cheaters
|
|
* better highscore form validation
|
|
* timer integrated (not in use yet)
|
|
* "your screen is too small to play in landscape view" message removed
|
|
* fix number of points for eating a ghost
|
|
|
|
*Version 0.9 - 15.10.2015*
|
|
* different difficulties depending on level
|
|
* scatter / chase indicated through wall colour
|
|
* extended instructions
|
|
|
|
*Version 0.87 - 08.10.2015*
|
|
* fix a bug that allowed resuming a game after game over
|
|
|
|
*Version 0.86 - 25.05.2015*
|
|
* some security fixes to avoid cheaters from adding highscores
|
|
|
|
*Version 0.84 - 09.11.2014*
|
|
* fixed bug that caused game to crash when leaving game area to the right side while holding the right arrow
|
|
|
|
*Version 0.83 - 07.05.2014*
|
|
* not possible to stop by turning into walls anymore
|
|
* mute / unmute the game by pressing the "M" key
|
|
|
|
*Version 0.82 - 02.04.2014*
|
|
* small bugfixes
|
|
* swipe gestures detection on the whole screen not only game area
|
|
|
|
*Version 0.81 - 16.03.2014*
|
|
* Ghost Modes Scatter & Chase
|
|
* Pathfinding AI for Blinky
|
|
* Ghosts need to return to Ghost House when dead
|
|
|
|
*Version 0.8 - 13.11.2013*
|
|
* lots of small changes in the backend
|
|
* when you go in landscape mode and your screen is too small to display the whole site, you get notified to rotate your phone into portrait mode
|
|
* all onClick and onMousedown in HTML removed and replaced by EventListeners in JavaScript
|
|
* Pacman Canvas now uses ApplicationCache to cache its content, so you can play the game offline!
|
|
|
|
*Version 0.78 - 05.11.2013*
|
|
* navigation via buttons should be less delayed by using onMouseDown event instead of onClick
|
|
* refreshRate is now a game attribute and could be changed easily during the game (not yet implemented in frontend)
|
|
|
|
*Version 0.77 - 24.05.2013*
|
|
* Ghosts start to blink before to undazzle
|
|
* Pacman now dies with style
|
|
|
|
*Version 0.76 - 02.05.2013*
|
|
* You can now use the usual arrow keys to control pacman
|
|
* fixed 2 small bugs regarding KeyEvents
|
|
|
|
*Version 0.75 - 28.04.2013*
|
|
* You can pause / resume the game by pressing SPACE
|
|
* ESC is no longer used to pause / resume, but to go back to the main view
|
|
* Game Menu only showing while game is paused
|
|
* some css tweaks
|
|
* Simple Highscore implemented using Ajax, Json and Sqlite3
|
|
|
|
*Version 0.74 - 25.04.2013*
|
|
* You can pause / resume the game by pressing ESC or clicking into canvas
|
|
* Swipe Gestures using hammerjs
|
|
* replaced alerts by nice html overlay messages
|
|
|
|
*Version 0.73 - 17.04.2013*
|
|
* You can play on until you lost all your 3 lives
|
|
* Ghosts state gets reset everytime they get eaten or new level starts
|
|
|
|
*Version 0.72 - 30.01.2013*
|
|
* Ghost Base Door
|
|
* Reset Game after winning
|
|
|
|
*Version 0.71 - 30.01.2013*
|
|
* Ghosts can die too
|
|
|
|
*Version 0.7 - 29.01.2013*
|
|
* Powerpills & Beastmode
|
|
|
|
*Version 0.63 - 29.01.2013*
|
|
* Pills now get loaded over external json file (map.json)
|
|
* ghost collisions implemented -> dying
|
|
* tried to clean up the code a bit
|
|
|
|
*Version 0.62 - 23.01.2013*
|
|
* disable zoom on Mobile
|
|
* change name to Pacman Canvas (Alpha)
|
|
|
|
*Version 0.61 - 12.01.2013*
|
|
* all walls defined (incl. collisions)
|
|
|
|
*Version 0.6 - 12.01.2013*
|
|
* small fixes for mobile view
|
|
* sound control (default: muted)
|
|
* collision control for walls
|
|
* json datastructure design for all game objects (pills, magic pills, walls)
|
|
|
|
*Version 0.41 - 10.12.2012*
|
|
* Mobile Design Fix
|
|
* New Icon
|
|
|
|
*Version 0.40 - 08.12.2012*
|
|
* Control Buttons for mobile
|
|
* Small Design Updates
|
|
|
|
*Version 0.30 - 05.12.2012*
|
|
* Touch Support via jGestures
|
|
* Responsive
|
|
|
|
*Version 0.20 - 22.11.2012*
|
|
* Code Refactored for further development
|
|
* Sound added
|
|
* Appcache implemented
|
|
|
|
*Version 0.13 - 29.10.2012*
|
|
* Never miss a dot: Pacman now always stays in the grid.
|
|
|
|
*Version 0.12 - 19.10.2012*
|
|
* Pacman is now able to eat the dots. Eating a dot equals 10 points for now.
|
|
* LiveScore implemented.
|
|
* Game ends when all dots are eaten.
|
|
|
|
*Version 0.11 - 15.10.2012*
|
|
* Placing white Dots and storing them in a Hashtable
|
|
* Monster/Ghost Prototype
|
|
* Score Prototype
|
|
* Pacman had to get smaller (r=15px)
|
|
* Display Grid
|
|
* Refactoring HTML
|
|
|
|
*Version 0.10 - 23.08.2012*
|
|
* Started cleaning up the code using Objects
|
|
* Pacman now turns around when changing directions
|