platzhersh / pacman-canvas Goto Github PK
View Code? Open in Web Editor NEWAn old classic, re-written in HTML5.
License: Creative Commons Zero v1.0 Universal
An old classic, re-written in HTML5.
License: Creative Commons Zero v1.0 Universal
hi
Hi, first of all great work. I wanted to point out that when I click the arrows on my smartphone, the game lags. The frame freezes on touch and then starts again. You can notice this when you click them multiple times at the same time and see the game jerk.
Could this be solved?
Hi,
First of all, great job on the development!
I was curious what was the licensing of the code - is it GPL/BSD/MIT or anything similar?
make the levels different, i.e. the game should get harder and harder with each level
setup github action, triggered by new releases
In the Readme, it's written that the project is licensed with Creative Commons Attribution-ShareAlike 4.0 International License.
(By the way, this license is not recommended for this type of projects. CC licenses (except CC0) are not made for programs.)
In the License file, the license is Creative Commons Zero v1.0 Universal.
I would recommend changing the license in the Readme to be also CC0 to avoid confusion and having a license made for programs.
I can also submit a pull request to make the changes recommended here.
Hello there, thank you for your job, it's really great!
I've read your code, but i can't find a function for create/manage the fruits, will you implement that? or it's only my problem that can't find this function?
thank you
possible approach:
I have tried that it works perfectly on the Safari, but it doesn't work on chrome.
I don't know if anyone has the same issue with me.
// get Level Map
$.ajax({
url: mapConfig,
async: false,
beforeSend: function(xhr){
if (xhr.overrideMimeType) xhr.overrideMimeType("application/json");
},
dataType: "json",
success: function (data) {
game.map = data;
}
});
as far as i am aware, async false isnt allowed anymore and causes a error in the console
When I unzip it and open index.html directly with Chrome, the page is loading but the game is not working and this is what I can see in the console:
"Access to XMLHttpRequest at 'file:///D:/SRC/HTML5-EXAMPLES/pacman-canvas-master/data/map.json' from origin 'null' has been blocked by CORS policy: Cross origin requests are only supported for protocol schemes: http, data, chrome, chrome-extension, https..."
I don't know about other browsers but, is there any file I can edit to fix this problem with Google Chrome?
Hello, nice game ! thx for sharing !
To get a smoother animation, you should use requestAnimationFrame and
have the move time driven. If you want i can do a P.R. with such changes.
Btw i posted about requestAnimationFrame here if you fancy a read :
http://codepen.io/gamealchemist/post/animationcanvas1
Regards.
Hi, first of all great work. I wanted to point out that when I click the arrows on my smartphone, the game lags. The frame freezes on touch and then starts again. You can notice this when you click them multiple times at the same time and see the game jerk.
Could this be solved?
SQL Injection vulnerability
https://github.com/platzhersh/pacman-canvas/blob/master/data/db-handler.php#L99
write up: https://archive.org/details/sql-injection-pacman.platzh1rsch.ch
How do I run this locally?
when attempting to go through the hole on right side, the game crashed
currently it is pretty easy to push the same result multiple times to the db-handler
I have loaded the code to http://tngctest.com/ecoman , and the maze and graphics do not show up after clicking 'Click to Play'. (see screen shot)
I think this may have something to do with the fact that the game cannot load the Highscores. Could this be related to the map.json or manifest.json and verification key?
Is it possible to replace the Pac-Man shape with an image using context.drawImage?
some of the code is pretty ugly, refactoring would not be too bad
I'd love to get the highscore functionality working, Is there a working example of this at all?
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.