Build an Interactive Plane Bomber Game Using JavaScript DOM [Video]
-
Free ChapterIntroduction to building interactive content using JavaScript
- Bomber Plane Game Introduction
- Game Area Setup
- JavaScript eventlisteners KeyBoard Events
- JavaScript Start Game
- Add animation frame
- JavaScript quick Game fixes
- Introducing Game Scoring
- Show Scoreboard to player
- Add Enemy Base
- Make the bomb Dynamically creating elements
- Move bombs Automatically
- Collision Detection
- Final Gameplay Tweaks
- Bomber Plane Code Review
This course is perfect to practice and learn more about the Document Object Model (DOM) while building a fun interactive game from scratch. With the help of step-by-step lessons covering explanations of JavaScript methods and application of logic, you’ll be guided in creating a mini-application. You can even build your own version of this JavaScript game.
It's not always fun and games to learn JavaScript, but in this case, it can be. You can try out the source code at the end of the lessons to see it in action. This course will enable you to build customized applications from scratch by taking you through useful coding concepts and JavaScript methods. The aim is to introduce you to element manipulation through DOM. This fast-paced course keeps non-JavaScript coding to a minimal – no libraries or shortcuts, just learning JavaScript to develop a dynamic and interactive web application.
Start building your own version of the game today!
All the code and supporting files for this course are available at https://github.com/PacktPublishing/Practice-JavaScript-DOM-Exercise-to-Build-a-Plane-Bomber-Game
- Publication date:
- April 2019
- Publisher
- Packt
- Duration
- 1 hour 12 minutes
- ISBN
- 9781838821883