This project demonstrates the canvas-detection feature while designing games, like PacMan.
- To run this project locally, first clone the repository using
git clone
. - Once the project is cloned, go to the directory of the cloned repo and open it using VSCode
- Make sure you have the extension called
Live Server
in order to launch the project page locally. - Once the folder is imported into VSCode, open
index.html
and right-click anywhere in file. Click on the optionOpen With Live Server
. This hosts the project locally in your default browser.
- Go to the URL https://noahharrison.github.io/noahportfolio/
- Navigate to the
Projects
button to find different projects, like PacMan, Eyeballs and BusMap.
- Since this is only the beginning of launching a full fledged version PacMan, here's some potential improvements:
- replace the image in a timed loop to have pacman open and close his mouth.
- reverse direction of the image when it hits the x axis wall.
afl-3.0