About this video

Understand how you can build a fully functional car racing game using just JavaScript. If you’re a beginner, this course is perfect for you to get to grips with creating interactive web applications. It demonstrates how to build a website-based car racing game and provides the source code and detailed instructions with which you can build your version of the game. This course is designed for anyone who wants to build interactive content and practice applying JavaScript in development.

You’ll cover the following topics:

• Element selection and manipulation using JavaScript

• Updating element style properties to move elements on your webpage

• Adding event listeners to create interactive content

• Keyboard events used to move elements

• Collision detection between two elements on the page

• Using the animation frame function in JavaScript

• Creating elements dynamically

• Applying logic for game functions

Build dynamic and interactive web applications with JavaScript—no libraries or shortcuts involved. Core knowledge of JavaScript and familiarity with HTML and CSS is a prerequisite, as the course covers only JavaScript relevant to the developing the game. Start building your version of the game today!

All the code and supporting files for this course are available at- https://github.com/PacktPublishing/Build-a-Car-Driving-Game-from-Scratch-using-JavaScript

Publication date:
April 2019
1 hour 20 minutes

About the Author

  • Laurence Svekis

    Laurence Svekis is an instructor. He has 18+ years' work experience in web development, providing smart digital solutions online for both small and enterprise level businesses. An experienced web application developer, he has worked on multiple enterprise-level applications, hundreds of websites and business solutions, and many unique and innovative web applications. His web application development areas of expertise include HTML, CSS, JavaScript, JQuery, Bootstrap, PHP, and MySQL—in short, anything to do with web creation and digital experience. He is passionate about everything to do with web application development and programming to online marketing with a strong focus on social media and SEO.

    Browse publications by this author
Book Title
Unlock this full video with a FREE 10-day trial
Start Free Trial