Learn Three.js while building a 3D game with physics (Skillshare)

Offered by Skillshare,
Learn Three.js while building a 3D game with physics (Skillshare)

In this course, we create a 3D game with physics. We will use Three.js to generate the 3D graphics and Cannon.js to simulate physics in this game. If you haven’t used these libraries before don’t worry. This is an introductory course both for Three.js and Cannon.js. We will go through everything in detail. We go through, how to set up the scene, how to add lights, how to set up the camera, how to add animation and event handlers, and finally, we will add physics

The only thing you need to be familiar with is JavaScript, but we won’t do anything crazy with that either. So if you have a basic understanding of JavaScript, and you want to learn Three.js then this is a good start.
In this class, we are going through how to create a game with Three.js and Cannon.js. There are multiple ways you can do your own version of the game. You can take the concepts of this video and build your own version, or you can copy what I came up with and change the game to your liking. You can just go to my version, click the Fork button at the bottom right corner and you can change its code. There are many comments in my version, so if anything was unclear in the course, you can find your answers there.
Make it your own. Make sure your game has a unique look and game logic.
Some challenges you can take:

  • Be more generous. It's impossibly hard to reach a high score in this game so why not help the player a bit? If the placement of the box is close enough, then do not cut it, or maybe even make it a little bigger.
  • Add a cool background and change the color scheme to your liking.
Go to Class
MOOC List is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Related Courses

Javascript Fun: Build a Tip Calculator! (Skillshare) Skillshare
Skillshare

Javascript Fun: Build a Tip Calculator! (Skillshare)

Welcome to the Javascript fun series! For web design or development, there are 3 must-know technologies, HTML, CSS, and Javascript. The main aim of the Javascript fun series is to take your knowledge of these 3 (only a little is required!), and put them into practice by building a series of educational, yet fun projects that show you exactly how they work perfectly together. Working on projects and solving problems is a great way to learn

Self Paced
Self-Paced
Javascript Fun: Build a Photo Effects App! (Skillshare) Skillshare
Skillshare

Javascript Fun: Build a Photo Effects App! (Skillshare)

Welcome to the Javascript fun series! For web design or development, there are 3 must-know technologies, HTML, CSS, and Javascript. The main aim of the Javascript fun series is to take your knowledge of these 3 (only a little is required!), and put them into practice by building a series of educational, yet fun projects that show you exactly how they work perfectly together. Working on projects and solving problems is a great way to learn.

Self Paced
Self-Paced
Diseño de Videojuegos: Una introducción (Coursera) Coursera
Universidad de los Andes

Diseño de Videojuegos: Una introducción (Coursera)

¡Bienvenidos a Diseño de videojuegos: una introducción! El diseño de videojuegos es el arte de aplicar conceptos de diseño para crear la interacción entre jugadores. Es un ejercicio mental que requiere varios conocimientos en diferentes campos y la habilidad de comunicar qué es lo que se quiere lograr. Este curso hace parte del Programa desarrollo y diseño de videojuegos, de la Universidad de lo Andes, Colombia.

Sep 21st 2026
4 Weeks
Learn React (Coursera) Coursera
Scrimba

Learn React (Coursera)

The ultimate React 101 - the perfect starting point for any React beginner. Learn the basics of modern React by solving 140+ interactive coding challenges and building eight fun projects. In this 143-part interactive tutorial, you'll learn how to build dynamic, interactive web applications with React.js. With Scrimba’s head of education, Bob Ziroll, as a guide, you’ll get to know all the bang-up-to-date features of React and fix them firmly in your memory by using them to create hands-on projects.

Sep 21st 2026
3 Weeks
Javascript Fun: Build a Number Match Game! (Skillshare) Skillshare
Skillshare

Javascript Fun: Build a Number Match Game! (Skillshare)

Welcome to the Javascript fun series! For web design or development, there are 3 must-know technologies, HTML, CSS, and Javascript. The main aim of the Javascript fun series is to take your knowledge of these 3 (only a little is required!), and put them into practice by building a series of educational, yet fun projects that show you exactly how they work perfectly together. Working on projects and solving problems is a great way to learn.

Self Paced
Self-Paced
How to Make a VR YouTube Video (Skillshare) Skillshare
Skillshare

How to Make a VR YouTube Video (Skillshare)

Hey, I run a VR YouTube Channel with consistent high views and engagement and I am going to show you how you can make your very own VR content. This is a beginners course, but the results will be outstanding. We’ll be using Unity and Adobe Premiere. In this class, you will learn the basics of Unity 3D, which you can also use for video game development.

Self Paced
Self-Paced
ES6 JavaScript Classes the Easy Way (Skillshare) Skillshare
Skillshare

ES6 JavaScript Classes the Easy Way (Skillshare)

In 2015, the JavaScript programming language got a major facelift with many improvements to the syntax and tons of new features. This new version is known as ES6, or ES2015, and each year since an updated version has been released. ES6 Classes, as well as instance and static methods, are vitally important to know and understand because so many projects and companies are migrating to the newest version of JavaScript. Many Front End libraries, such as React, rely heavily on the new Class syntax.

Self Paced
Self-Paced
Building a basic portfolio website using HTML, CSS and JavaScript (Skillshare) Skillshare
Skillshare

Building a basic portfolio website using HTML, CSS and JavaScript (Skillshare)

Ever wanted to create your own website but don't know where to begin? Start your web development journey here with Dr Simon Rose. In this free practical class, you'll build and publish your own portfolio website from scratch in under 2 hours using HTML, CSS and JavaScript. The class is taught by a university lecturer and is adapted from an Intro to Web Development university module.

Self Paced
Self-Paced
Learn How To Make Games: Videogame Development in Unity (Skillshare) Skillshare
Skillshare

Learn How To Make Games: Videogame Development in Unity (Skillshare)

Learn How to Make Videogames with the Unity Game Engine. If you've ever wondered how videogames are made and if you want to learn how to do so, this course is for you! I have spent more than two years learning about Unity both by working on little projects and by enrolling myself in pure self-learning. I'll teach you all of the fundamentals about Unity and a lot of mental processes to follow when you want to develop your own game, no matter the software you are using.

Self Paced
Self-Paced
How to get started in game development - Beginners guide to game development, art, & design (Skillshare) Skillshare
Skillshare

How to get started in game development - Beginners guide to game development, art, & design (Skillshare)

It’s never been easier to not only create, but release your own game. Anyone can make a video game, no matter your age, gender, or location. Contrary to popular belief, you don’t have to be a master artist or programmer to create your own games. In fact, you can make a game without any art or programming skills whatsoever. These days, there are enough tools & resources that making games is easier than it’s ever been in the past, & not being able to create game art or write game code isn’t something that can stop you.

Self Paced
Self-Paced
Typescript Design Patterns (Object-oriented programming) (Skillshare) Skillshare
Skillshare

Typescript Design Patterns (Object-oriented programming) (Skillshare)

Object oriented design patterns help you create more robust and flexible software. In this course I will show you how to use these patterns in TypeScript. Design patterns are best practices that will help you solve common problems in programming. There is no need to solve a generic problem that has been solved many times before. Simple example: how do you write a system that allows user to order a product and customize some of its features?

Self Paced
Self-Paced