Remix.run Logo
susam 2 days ago

I could fulfil my childhood dream of creating a space-invaders-like game [1], much later as an adult [2], thanks to MDN!

The excellent documentation for the Canvas API [3] and OscillatorNode [4] on MDN made it quite easy to get started with developing the game.

[1] https://susam.net/invaders.html

[2] https://github.com/susam/invaders#why

[3] https://developer.mozilla.org/en-US/docs/Web/API/Canvas_API

[4] https://developer.mozilla.org/en-US/docs/Web/API/OscillatorN...

wadadadad 2 days ago | parent | next [-]

I want to say that the game play was really well done, I really enjoyed the progression (speed of enemies, number of enemies, how quickly they descended) and mechanics (being able to shoot their bullets!)! I don't recall exactly how the original invaders worked, so I'm not sure how much was copied vs changed, but I very much enjoyed this as a brief break. Thank you!

susam 2 days ago | parent [-]

Thanks! I'm glad you enjoyed the game. The original Space Invaders was quite different. My version wasn't meant to replicate it, but it was certainly inspired by it.

For instance, the original didn't have health levels, whereas mine does. The invaders in the original were packed more densely across the screen, and the player had defensive bunkers that were gradually destroyed. My version doesn't include those. So while the two games are quite different, the original was definitely the inspiration that motivated me to create my own invaders-like game.

snorlaxmorlax 2 days ago | parent | prev [-]

So happy we could make your childhood dreams come true! I will share your feedback with the team, for sure. <3