DEV Community

Cover image for Alien Themed Space Shooter Game
Shraddha063
Shraddha063

Posted on

1

Alien Themed Space Shooter Game

This is a submission for the Web Game Challenge, Build a Game: Alien Edition

What I Built

I developed an Alien Invasion Shooter game where players control a spaceship to shoot down aliens and avoid their lasers. The game includes explosive visuals, sound effects, and power-ups for shields and extra lives, with a "Restart" button for replayability after game over.

Demo

Live Demo
GitHub Repository

Journey

Game Structure: Implemented core mechanics for movement, shooting, and collision detection.

Visual Effects: Added explosion GIFs and sound effects for immersive feedback, improving the gameplay experience.

Challenges: Managed simultaneous collisions, ensuring multiple explosion sounds played correctly.

Game Over & Restart: Created a "Game Over" message with the final score, and a Restart button, clicking which the game can be restarted again and the scores is resetted.

What I Learned :

Gained insights into JavaScript's event handling, canvas rendering, and game state management.


Thanks for checking out my game! You can play it here.

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay