Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Pacman Game Tutorial with JavaScript and HTML5 Canvas
Play lesson

HTML5 Canvas Tutorials for Beginners | Become a Canvas Pro 📋 - Pacman Game Tutorial with JavaScript and HTML5 Canvas

5.0 (1)
35 learners

What you'll learn

This course includes

  • 33.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Full Transcript

Want to next level this course? I added 5 1/2 hours of extra content that you can start at https://chriscourses.com/courses/pacman/videos/clean-code-refactor. I'll teach you plenty of extras such as how to add and animate ghost sprites, create multiple levels, increase difficulties, and so much more. Enjoy! Game Assets: https://drive.google.com/drive/folders/1Cvq2RVrv-z2rR3wPZjgJrUgOAjVSVzj9?usp=sharing GitHub Gist with pre-built map and switch case statements: https://gist.github.com/christopher4lis/452bc4442208e3123e6abf69458081df Pacman is another classic game which can be coded in less than 1000 lines of code. Here, I'll teach you everything you need to know to get your own Pacman-style game up and running with the HTML5 canvas and vanilla JavaScript. 0:00 - What we're developing 1:42 - Project setup 9:01 - Generate map boundaries 28:16 - Add Pacman with movement 54:01 - Add collision detection 1:17:17 - Swap boundaries with images 1:28:54 - Generate pellets 1:32:41 - Remove pellets on collision 1:38:35 - Add score 1:44:59 - Create ghost 2:14:44 - Create power-up 2:25:07 - Add win condition 2:26:50 - Pacman chomp animation

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere