You are on a spaceship on your way to another planet, but you are stopped by asteroids and aliens. How long can you last?
Galactic Drift is an action-packed space-themed game where players control a spaceship navigating through an asteroid field, avoiding obstacles, and shooting alien ships. The goal is to survive for as long as possible while accumulating points and traveling further into space.
- Spaceship Controls: Move your spaceship with the
w
,A
,S
,D
keys and shoot using theSpacebar
. - Asteroid Field: Navigate through dangerous asteroids while dodging or shooting them.
- Alien Ships: Encounter hostile UFOs as you progress through the game.
- Score System: Track your score based on distance traveled and enemies destroyed.
- Health Bar: A dynamic health bar that depletes with collisions or alien attacks.
- Responsive Interface: Game controls and status are shown on-screen, with an option to restart once the game is over.
- Start the Game: Click the "Start Game" button to begin.
- Movement: Use the W, A, S, D keys to move your spaceship.
- Shooting: Press the Spacebar to shoot at incoming alien ships and asteroids.
- Game Over: If your spaceship collides with an asteroid or enemy UFO, the game ends.
- Restart: After the game ends, click the "Restart Game" button to play again.
- Score: Your score is displayed in the top-left corner and increases as you travel further into space and destroy enemies.
- Distance Traveled: A tracker for how far you've traveled, visible in the top-left corner.
- Health Bar: The green health bar shows your spaceship's health, which decreases as you take damage.
- Controls: Keyboard inputs (WASD for movement, Spacebar for shooting) are displayed at the start of the game.