Рет қаралды 1,419
In this video we learn how to implement gameplay elements in vanilla JavaScript and HTML canvas. We will create a simple menu for the puzzlecam game. The menu will have a start button and a difficulty selection component. When the game starts we will start a timer which will run until the puzzle is solved (we also need to implement a check complete function).
This tutorial is part 4 of a series that teaches how to code a complex puzzle game that uses the camera:
Part 1. Accessing camera with HTML and vanilla JavaScript (Desktop and Mobile)
Part 2. Image manipulation in vanilla JavaScript (Cutting images into Pieces)
Part 3. Drag and drop in vanilla JavaScript and HTML canvas (Desktop and Mobile)
Part 4. Gameplay elements (Menu, Timer, Check complete)
Part 5. Styles and visuals (CSS and vectorial drawing)
Part 6. Working with sound (Recording and synthesis)
Part 7. MySql (PhpMyAdmin, Table structure)
Part 8. Php (Handling HTTP Requests, Interacting with the database)
Part 9. Advanced image manipulation in vanilla JavaScript (Shaping Puzzle Pieces)
Part 10. Advanced drag and drop in vanilla JavaScript (Handling Complex Shapes)
Full Playlist:
• PuzzleCam JavaScript C...
Play the game here:
radufromfinlan...
Me playing the game on INSANE difficulty:
• Live Camera Puzzle (Pu...
Game introduction (1000 subscriber special):
• 1000 Subscriber Specia...