Astroid Shooter Game (thing)

Its a game where you shoot astroids

(Thats it)

(No more explanation needed)

(Made with javascript)

All of my code

Sprite Setup code

Draw Loop function

Background control & score functions

Player control function

Sprite interaction function

More sprite interactions

Still more sprite interactions and winner screen function

Looping function

Out of bounds and Life control functions

Dead function


The loser screen

Materials

FAQ

What is JavaScript?

JavaScript is a programming language for the web.(Supported by most browsers)

What is primary reason to use JavaScript ?

It is primarily used to enhance web pages to provide for a more user friendly experience.

What did i learn?

I learned how to code in javascript.

My difficulties were:

The times where i want to modify the game and it takes a lot of trial and error to get it right.

What would my next goal be?

to get better and to make more advanced games.