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/
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Create A 3D Game with Typescript and Three.js - Initial Steps», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.