Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

YouTube

Pacman Game Tutorial with JavaScript and HTML5 Canvas

Chris Courses via YouTube

Overview

Embark on a comprehensive tutorial to create your own Pacman-style game using JavaScript and HTML5 Canvas. Learn essential game development concepts including project setup, map boundary generation, character movement, collision detection, image integration, pellet creation and removal, score tracking, ghost implementation, power-up mechanics, win condition setup, and character animation. Follow along step-by-step to build a fully functional Pacman game in less than 1000 lines of code, gaining valuable skills in game programming and canvas manipulation. Access additional resources, including game assets and pre-built map components, to enhance your learning experience and create a polished final product.

Syllabus

- What we're developing
- Project setup
- Generate map boundaries
- Add Pacman with movement
- Add collision detection
- Swap boundaries with images
- Generate pellets
- Remove pellets on collision
- Add score
- Create ghost
- Create power-up
- Add win condition
- Pacman chomp animation

Taught by

Chris Courses

Reviews

Start your review of Pacman Game Tutorial with JavaScript and HTML5 Canvas

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.