Inspiration

I was inspired by a series of youtube videos on how to make html games. They gave me the idea on how to make the code work, as well as how to optimize it.

What it does

It's a basic game where you control a character, move around, and shoot. Enemies periodically spawn to bounce around the screen before dying to your shots or hitting you.

How we built it

I build it using HTML, JavaScript, CSS, MS Paint, and MS PowerPoint.

Challenges we ran into

I thought that MS Paint would automatically create the transparent background, but it did not. After some research, I found that MS PowerPoint can do it, so I created the sprites in MS Paint, before importing them into a PowerPoint Presentation and editing them. Additionally, if one presses spacebar several times upon starting, the setInterval() function will compound on itself and be much faster than intended; it also breaks the game over screen.

Accomplishments that we're proud of

I'm honestly just proud that I finished this game given that I had other work this weekend.

What we learned

I learned how to implement JavaScript into websites, as well has how to make transparent backgrounds for free.

What's next for Robot Shooter

This game may see some additional functionality, but this will be unlikely as the school year starts up.

Built With

Share this project:

Updates