Make JavaScript Asteroids Game

Make JavaScript Asteroids Game

Derek Banas via YouTube Direct link

Moving the ship

9 of 22

9 of 22

Moving the ship

Class Central Classrooms beta

YouTube playlists curated by Class Central.

Classroom Contents

Make JavaScript Asteroids Game

Automatically move to the next video in the Classroom when playback concludes

  1. 1 Intro
  2. 2 Required Files
  3. 3 Writing the JavaScript
  4. 4 Event Listener
  5. 5 Setup Canvas
  6. 6 Render Function
  7. 7 Update Function
  8. 8 Trigonometry
  9. 9 Moving the ship
  10. 10 Rotating the ship
  11. 11 Adding bullets and asteroids
  12. 12 Adding bullets
  13. 13 Drawing the nose
  14. 14 Draw
  15. 15 Create Asteroid
  16. 16 Create Arrays
  17. 17 Render
  18. 18 Collisions
  19. 19 Life Ships
  20. 20 Display Score
  21. 21 Collision
  22. 22 Collision with Bullets

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.