Create a 3D Car Racing Game with THREE.js and CANNON.js
Nicholas Lever
Use the CANNON.js physics library and the WebGL library, THREE.js, to easily create a car racing game.
Add to basket or enquire
Overview
Certificates
Curriculum
Course media
Description
Creating a car racing game that works in a browser including mobile devices has never been easier. Using the two Open Source libraries THREE.js and CANNON.js this course takes you through the steps you will need to know and builds towards a complete car racing game. On the way you will learn
-
How to setup your development environment
-
How to access free and low cost assets to use in your game.
-
How to edit those assets to work with the THREE.js and CANNON.js libraries.
-
How to use THREE.js to add 3D to an HTML page.
-
The basics of THREE.js lights, cameras and meshes.
-
The basics of the CANNON.js library, including rigid bodies.
-
How to debug your physics either using the CannonDebugRenderer or using the CannonHelper class created by the author. Both are included in the resources for the course.
-
How to use the CANNON.RayCastVehicle class to add a car with suspension and fully working wheels.
-
How to apply your own assets to the RayCastVehicle and add colliders so it bumps into your content.
-
How to add a responsive GUI to the game
The course includes the assets for car racing game as shown in the course image and promo video. The author has won awards for the 3D games he has produced. Learn from an expert who has been creating games for over 30 years. The game we'll develop allows the player to choose from optional, body, engine, exhaust and wheels. It involves driving a remote controlled car around a garden track.
It's a great way to improve your JavaScript skills along the way. All code uses the latest ES6 style, using classes throughout.
Who is this course for?
- If you are interested in developing 3D games that work in the browser including on mobile devices.
- If you are interested in learning how physics engines work while creating a fun game.
- If you want to know how to add a responsive GUI to your game.
Requirements
-
You need to know basic Javascript.
-
The tools required are a good text editor and optionally a 3D application program that exports FBX files such as Blender.
Questions and answers
There are currently no Q&As for this course. Be the first to ask a question.
Reviews
Currently there are no reviews for this course. Be the first to leave a review.
Sidebar navigation
Legal information
This course is advertised on Reed.co.uk by the Course Provider, whose terms and conditions apply. Purchases are made directly from the Course Provider, and as such, content and materials are supplied by the Course Provider directly. Reed is acting as agent and not reseller in relation to this course. Reed's only responsibility is to facilitate your payment for the course. It is your responsibility to review and agree to the Course Provider's terms and conditions and satisfy yourself as to the suitability of the course you intend to purchase. Reed will not have any responsibility for the content of the course and/or associated materials.