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

Programming Languages
University of Virginia via Udacity
Building a Basic Website
University of Massachusetts Amherst via Independent
iDESWEB, Introducción al desarrollo web
Miríadax
Web Engineering II: Developing Mobile HTML5 Apps
Technische Hochschule Mittelhessen via iversity
Web Application Architectures
University of New Mexico via Coursera