daleharvey / pacman Goto Github PK
View Code? Open in Web Editor NEWHTML5 Pacman
License: Do What The F*ck You Want To Public License
HTML5 Pacman
License: Do What The F*ck You Want To Public License
The clone function at the end of pacman.js seems to corrupt JQuery, in particular the $.getXXX functions.
I removed the code and replaced:
map = Pacman.MAP.clone();
with
map = Pacman.MAP;
The code seems to work with this change
The eating and siren sounds don't work. Any ideas? All others seem to be working. This issue exists everywhere I find it online. It also exists in the downloaded version I installed on my website. I've used IE 11 and Chrome. The MP3 and OGG files play when clicked so I know the sound files are not corrupted.
when I use your code with some simple (fadeI; fadeOut) jQuery i get "undefined is not a function" it points to this line "var collection = ( tweeners[ prop ] || [] ).concat( tweeners[ "*" ] )," on jQuery. It works when i dont use any of game code. How to solve this problem because i want to use jQuery code too
Looking to swap them for an image of some sort rather than just a pulsing circle. Is this possible?
how do i replace pacMan with an image??
Hello!
any idea to incorporate pacman in an angular component? I've just tried putting it in a component like using overlay effect with closing icon, cleaning it from jquery and modernixr and running it. Everthing works fine except that after i exit from the overlay and i navigate to routes of the application console give me error on route.mjs file.
Thank you!
Hi, I want to change ghosts to image that i have. How can i import my ghost images?
It is a way to change the level design?
I mean I know that Pacman.WALLS drive it but what is the logic behind it?
Thanks!
BigG
at the beginning you put your variable: var NONE =4
but the rest like up, down, etc. Don't have var behind the name
I'm going to be using this, for my teaching. To share the sounds/music in retro games. Is there anyway to make the game screen larger?
I was wondering how to change the walls to make them straight instead of rounded. I was looking around in the code and found what rounded them. But I'm not quite sure how to straighten them. I haven't messed with js for years so I'm quit rusty, Plus I never made much of an effort with java, python was always more my style.
How can i make it so that the score wil be uploaded to a database, So i can make a highscore page
Hi,
We would love to show your app and share the code, as part of a Javascript-related presentation, however we are not allowed to use the "Do What The F*ck You Want To Public License".
If you can switch to an MIT license, that would be great.
Thank you!
hey dale and others,
i have forked this repo and made some minor changes. appreciate if you guys take a look at it: https://github.com/sevakmaheshr/pacman
constructive comments welcome. ๐ค
Hi, the game stuck on loading on mobile safari (ipad and iphone), disabling the audio files loading make it playable but no audio of course ;). Any clues?
Hi, I've noticed in the source code that you haven't finished the Ghosts should return back to base when eaten feature.
I think this can be done with Djikstra's shortest path, however even counting all the possibilities is not an impediment at all, the path possibilities are not too many.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.