YoVDO

Code Asteroids in JavaScript (1979 Atari game) - tutorial

Offered By: freeCodeCamp

Tags

Javascript Courses Programming Courses Game Development Courses Sound Effects Courses Video Game Design Courses Collision Detection Courses Local Storage Courses

Course Description

Overview

Learn to recreate the classic 1979 Atari game Asteroids from scratch using vanilla JavaScript in this comprehensive tutorial. Begin by creating the spaceship, then move on to generating asteroids and implementing collision detection with explosions. Develop the shooting mechanics for lasers and asteroid destruction, followed by adding levels, lives, and game over functionality. Implement a scoring system with local data saving, and finally, enhance the gaming experience by incorporating sound effects and background music. Access provided code snippets and resources for each section to follow along step-by-step, covering everything from basic game mechanics to advanced features in approximately 2-3 hours.

Syllabus

) Spaceship creation.
) Astroids creation.
) Collision Detection and Explosions.
) Shooting Lasers and Asteroid Destruction.
) Levels, Lives, and Game Over.
) Scoring and Saving Data Locally.
) Sound Effects and “Music”.


Taught by

freeCodeCamp.org

Related Courses

Animaciones en Pygame: Crea juegos 2D
Coursera Project Network via Coursera
Build Space Invaders using Pygame
Coursera Project Network via Coursera
Moving, Shooting, and Debugging in GameMaker
University of Colorado System via Coursera
C# and Unity by Example — 20+ Mini Game Development Projects
Packt via Coursera
Create Jumping Mechanics with C# in Unity
Coursera Project Network via Coursera