Главная
Study mode:
on
1
Intro
2
Required Files
3
Writing the JavaScript
4
Event Listener
5
Setup Canvas
6
Render Function
7
Update Function
8
Trigonometry
9
Moving the ship
10
Rotating the ship
11
Adding bullets and asteroids
12
Adding bullets
13
Drawing the nose
14
Draw
15
Create Asteroid
16
Create Arrays
17
Render
18
Collisions
19
Life Ships
20
Display Score
21
Collision
22
Collision with Bullets
Description:
Learn how to create the classic Asteroids game using pure JavaScript in this comprehensive video tutorial. Gain a deep understanding of game development concepts including 3D space movement, collision detection, inertia, velocity, shape rotation using mathematics, user input handling, polygon animation, object creation and destruction, and trigonometry. Follow along step-by-step as the instructor builds the game from scratch, explaining each line of code in detail. Cover essential topics like setting up the canvas, implementing game logic, creating ship movement and rotation, adding bullets and asteroids, handling collisions, and displaying the score. By the end of this tutorial, acquire the skills to develop your own 2D games using JavaScript.

Make JavaScript Asteroids Game

Derek Banas
Add to list
0:00 / 0:00