Create A 3D Game with Typescript and Three.js - Initial Steps
Описание
This is the first lesson for the series that aims to teach you how to create a 3d game using typescript and three js.
Source Code - Lesson 1:
https://github.com/aarcoraci/threejs-gamedev-class-1
The course is aimed to developers with some degree of understanding on 3d programming and web development.
In this video we see how to create a base project using Vite and how to create the basic entities and objects that will make it easier to manage the development of the game. The only library we are going to use is three.js (plus it's types support).
This lesson will focus on code organisation, setting up a scene, camera and tips to easily handle the game creation process.
At the end of the course you will learn how to program a game where you control a tank and shoot some enemies.
The course will cover the following topics:
- creating an app and installing three
- using OOP to organise game elements
- tile map creation
- resource loading and optimisation
- controlling the player using keyboards
- transforms: movement and rotation
- collision detection
- shooting
- enemies
- destroying enemies
- dispose and optimisation techniques
=== Chapters ===
00:00 Intro
00:30 App Creation
01:12 Project Clean up
01:47 GameScene class
02:48 GameScene constructor and setup
04:07 Camera Creation
04:36 Render Function
05:25 Load Function
06:12 Camera explanation
07:03 Fixing the changes of size
=== Credits ===
Intractable by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1100194
Artist: http://incompetech.com/
---
George Street Shuffle by Kevin MacLeod is licensed under a Creative Commons Attribution 4.0 license. https://creativecommons.org/licenses/by/4.0/
Source: http://incompetech.com/music/royalty-free/index.html?isrc=USUAN1300035
Artist: http://incompetech.com/
Рекомендуемые видео


















