Space Rocks Tutorial



The first thing you need to do to make a JavaScript web game is a Text Editor.
I like to use the Microsoft Text Editor called "Visual Studio Code".
I think that it is a good Text Editor for beginners because it shows mistakes you make in your syntax.

List of things to do:

  1. Download a Text Editor(I like Visual Studio Code, and it's free)
  2. Save the file as .html (for example spacerocks_tutorial.html)

A great resource to build games is Mozilla's game tutorials. There are also Udemy classes, and also alot of great tutorials on youtube.
Mozilla will teach you how to set up an Html page, and start working with canvas.

If you see a double slash (//) in the game code. That line is a comment for the reader, and not part of the game code.