Car Racer JavaScript Game Exercise Vanilla JavaScript
Practice and learn more about JavaScript while building a fun interactive car racing game from scratch. No libraries, no shortcuts just learning JavaScript! Source code is included to get you...
- All levels
- English
Course Description
Practice and learn more about JavaScript while building a fun interactive car racing game from scratch. No libraries, no shortcuts just learning JavaScript! Source code is included to get you started quickly. Prefect course for beginners to learn JavaScript Step by step learning with all steps included Fun and exciting way to learn and practice JavaScript. Beginner JavaScript kno...
Practice and learn more about JavaScript while building a fun interactive car racing game from scratch. No libraries, no shortcuts just learning JavaScript! Source code is included to get you started quickly. Prefect course for beginners to learn JavaScript Step by step learning with all steps included Fun and exciting way to learn and practice JavaScript. Beginner JavaScript knowledge is required as the course covers only JavaScript relevant to the building of the game. Also HTML and CSS knowledge is essential as scope of this course is all JavaScript focused. All this is included and a whole lot more. Along with friendly support in the Q&A to help you learn and answer any questions you may have. Start building your own version of the game today!!!!
What you’ll learn
- Learn how to setup your gameplay area using HTML and CSS
- Add JavaScript setting event listeners
- Add Keyboard actions to move an html div using keyboard arrow keys
- Run animationframe to change element position and respond to the users commands
- Setup start game functionality
- Create a dynamic JavaScript road
- Create elements within JavaScript
- Access the JavaScript Document Object Model to manipulate element properties
- Setup and add values within an object to track location and move
- Setup a dashboard to output variables for the user like score and speed
- Add road movement
- Track speed dynamically with braking and accelerating
- Add other cars and have them move within the gameplay area
- Check for element overlap and detect collisions
- Score and extend gameplay
Covering Topics
Section 1 : Introduction to JavaScript Car Racer Exercise
Curriculum
Frequently Asked Questions
This course includes
- Lectures 30
- Duration 2 Hour
- Language English
- Certificate No