3.1 Space Invaders

(remixed from 3.1 Space Invaders Starter FIle, by mcteacherface) by eb0987129
See Code Download Embed
Emma Baker
11/15/21 - 

Customization 1: Extra Life--when touching the player, it restores a life.

Customization 2: Wraparound--if the player goes to the edge of the screen, it goes past the edge and comes out the other side.


The sound is a little glitchy sometimes; the sound will randomly shut off. (I think it's a Snap problem, since reloading the page works to bring the sound back.)

The 'Game Over' broadcast is also not working at all; so the background/New Game button codes need to be clicked to activate. The Invaders and Bases don't disappear, and neither does the extra life sprite. Not sure how to fix these bugs.

My code for the extra lives is a little clunky, but it fixed some bugs and makes it work seamlessly.

Created November 15, 2021

Last updated December 13, 2021

Shared November 15, 2021