YoVDO

Make JavaScript Asteroids Game

Offered By: Derek Banas via YouTube

Tags

Javascript Courses Game Development Courses Animation Courses Trigonometry Courses Object-oriented programming Courses Canvas API Courses Event Handling Courses 2D Graphics Courses Collision Detection Courses Asteroids Courses

Course Description

Overview

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.

Syllabus

Intro
Required Files
Writing the JavaScript
Event Listener
Setup Canvas
Render Function
Update Function
Trigonometry
Moving the ship
Rotating the ship
Adding bullets and asteroids
Adding bullets
Drawing the nose
Draw
Create Asteroid
Create Arrays
Render
Collisions
Life Ships
Display Score
Collision
Collision with Bullets


Taught by

Derek Banas

Related Courses

GUI Programming with Python
A Cloud Guru
Amazon Connect and Amazon EventBridge Intermediate
Amazon Web Services via AWS Skill Builder
Approfondimento sui concetti e gli strumenti per analizzare i dati in streaming (Italiano) | Deep Dive into Concepts and Tools for Analyzing Streaming Data (Italian)
Amazon Web Services via AWS Skill Builder
¡A Programar! Una introducción a la programación
University of Edinburgh via Coursera
بناء المواقع باستخدام ReactJS: ابني موقعك الأول
Coursera Project Network via Coursera