Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Create a 3D RPG Game With THREE.js
Rating: 3.7 out of 5(353 ratings)
2,489 students

Create a 3D RPG Game With THREE.js

Use THREE.js to create a stunning WebGL 3D game that will run in all modern browsers, including mobile devices.
Created byNicholas Lever
Last updated 11/2024
English

What you'll learn

  • Create 3D games that will run in a browser
  • Understand how to control a character allowing the user to guide them around a large environment
  • Learn to load complex external 3D assets that contain animations.
  • Apply animations to a skinned mesh.
  • Use simplified geometry to contain the user character within the environment.

Coding Exercises

This course includes our updated coding exercises so you can practice your skills as you learn.

See a demo
Image of coding exercise example

Course content

9 sections32 lectures2h 28m total length
  • Welcome to the course0:40
  • JavaScript in 12 Easy Lessons - e-book0:28
  • The ThreeJS Primer - FREE e-book0:28
  • What are you going to learn2:41

    A brief overview of the course and its contents.

  • Setting up a simple web server2:47

    Most web pages need to download additional resources, images or other assets. If working from your local machine then if the url begins with file:// then this means using the local file system and this is not allowed for security reasons. To work on the game we will develop in this course we need to use a Web Server so we can use http:// - in this lecture I show how easy this is done by using Web Server for Chrome, a Chrome extension that is freely available and makes setting up a local web server very easy.  Web Server for Chrome is a Chrome App and Chrome Apps are being discontinued. Instead use Simple Web Server - https://simplewebserver.org/. Created by the same developer it works in the same way.

    1. Create a New Server

    2. Choose the folder

    3. Click the blue link to open in your browser

  • 3D basics3:58
  • Introducing THREE.js8:45

    A brief introduction to THREE.js Scenes, Renderers, Lights and Cameras.

    To follow along please download the resources for this course.

  • What have you learned?

Requirements

  • You need to be keen to learn to code your own 3D games.
  • We’ll be using Brackets as the text editor. But feel free to use your preferred editor if you like to use a different one.
  • Some knowledge of JavaScript will help.
  • Game will run in a browser, but you need to use a web server. Setting this up simply is described in section 1.

Description

Creating 3D games is fun. In this course you will learn quickly to create a stunning game. The author has won many awards for his 3D browser based games and he will take you through all the skills you need to create games of your own using the amazing THREE.js library. 

THREE.js makes creating WebGL games much easier. You will not need to worry about how to write complex shaders. Instead the shaders will load from the assets you create in Blender.

You’ll learn

  • To setup your development environment .

  • How to export 3D assets from Blender, including animation.

  • Where to source great 3D assets that you can use in your own games.

  • The basics of setting up a THREE.js camera, scene and renderer.

  • Adding a pre-loader.

  • Using the FBXLoader class.

  • To master the art of blending animations.

  • Use a custom onscreen JoyStick class you can easily add to your own games so that desktop and mobile users get the same experience.

  • How to smoothly switch camera angles.

  • How to use simplified geometry to lock your character to the environment.

  • How to add cut-scenes.

  • How to add Sound to your games that responds to the current camera location.

It is exciting and fun and in around 2 hours you will have acquired the skills to create your own games.


Student reviews:

"This course is really awesome ! I enjoyed every second of this learning experience. Thanks to Nicholas Lever ( all the respects ) I can't wait for the next course using cannon.js !"

"This is the most exciting class I've taken on Udemy since joining 7 years ago! The instructor gives examples that he made personally, explains all of the coding thoroughly, and shows you vast libraries to source pre-made objects, characters, and worlds... what more could you ask for!?!"

Who this course is for:

  • You want to learn to create 3D games that will run in a modern browser, even on mobile devices.
  • You want to learn the skills quickly.
  • You want to focus on a game that has a central in-vision character.
  • You want to learn to control 3D assets with code.