Inspiration
Shocker takes inspiration from Pac-man and Jetpack Joyride
What it is
A survival game where you try to avoid lasers as you collect points to try and beat your high score.
How I built it
Using JavaScript, HTML, CSS, and the impending stress of starting a day late, I was able to create this masterpiece. Shocking, isn't it? ba dum tss...
Challenges I ran into
Collision detection, randomly generating lasers and adding animations with canvas were all little nuisances that took me a little longer than I'd like to admit.
Accomplishments that I'm proud of
I made this without using a framework.
What I learned
Sometimes .filter() does exactly what I need .splice() to do.
What's next for Shocker
Add some set laser patterns, controls/help menu, upgrade or cosmetic shop, and create new icons and better animations.
Log in or sign up for Devpost to join the conversation.