Coding Pac-Man in JavaScript Complete Tutorial Every Step Explained

Veröffentlicht am: 26 Juli 2021
auf dem Kanal: Coding With Adam
46,396
1k

In this tutorial we are going to build Pac-Man using pure JavaScript. Every step of the process will be explained. This is a great tutorial for beginner and intermedia developers. Learn game fundamentals such as the game loop, building a tile map, keyboard input, animation, collision detection and simple enemy AI.

Download the assets(images, sounds) from the complete project:
https://github.com//CodingWith-Adam/p...

Try the game here:
https://codingwith-adam.github.io/pac...

Links
Github
https://github.com/CodingWith-Adam/pa...

2D Collision Detection
https://developer.mozilla.org/en-US/d...

00:00 Intro
04:49 Setup
11:05 CSS
14:59 Game.JS
15:56 Game Loop
17:24 Tile Map
38:56 Visualize Tile Map
40:54 Pac-Man
57:59 Pac-Man Moving
01:11:22 Pac-Man Wall Collision
01:20:32 Pac-Man Animation
01:29:38 Pac-Man Rotation
01:44:51 Pac-Man Sound
01:46:47 Ghosts
01:58:09 Ghosts Moving
02:10:44 Ghosts Paused
02:14:03 Power Dot
02:21:22 Eat Power Dot
02:24:33 Power Dot Sound
02:32:23 Remove Errors
02:33:38 Ghosts Scared
02:40:29 Ghost Collision
02:49:34 Eat Ghost
02:54:00 Winning the game
02:59:23 Game Win and Over Screens
03:05:40 Congratulations!


Auf dieser Seite können Sie das Online-Video Coding Pac-Man in JavaScript Complete Tutorial Every Step Explained mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coding With Adam 26 Juli 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 46,396 Mal angesehen und es wurde von 1 tausend den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!