Skip to content

Simple platform game with attractive design and awesome music. Made using Javascript and Phaser. Try shooting some spaceships!

Notifications You must be signed in to change notification settings

1v4n4/fueur-frei

Repository files navigation

Fueur frei!

This retro shooter is a simple platform game, a battle of spaceships with one player and three kinds of enemies.

Screenshot

How to play

  • Move using arrow keys (Left, Right, Up, and Down).
  • Shoot lasers using Space.
  • The player has five lives.
  • The aim is to destroy as many enemies as possible.
  • There are three kinds of enemies, giving 20, 50, and 100 points on destroying.
  • The player's name can be submitted when the game is over.
  • The best ten results are displayed in a Hall of Fame.
  • Music and sounds can be on or off and preference data is kept in local storage.

Live Link

Play the game!

Built With

  • Javascript
  • Phaser
  • Webpack
  • Babel
  • Jest

Getting Started

To get a local copy up and running follow these simple steps.

Prerequisites

Node and NPM packages.

Setup

Get the link to the repository. Clone it as git clone https://github.com/1v4n4/fueur-frei. Install dependencies with npm install

Usage

Run npm run build in Terminal to build the assets using webpack. Run npm start in Terminal to start the server and look at the result in localhost:8080.

Writing Code

After starting the development server with npm start, you can edit any files in the src folder and webpack will automatically recompile and reload your server (available at http://localhost:8080 by default).

Testing

The app uses Jest for testing. A command for running the tests that are located in the 'tests' folder is npm test.

Design

This space battle is a platform app with simple graphics.

Screenshot This player's ship has five lives and it is used to shoot at enemies.

Screenshot This enemy ship has one life and it is easiest to be killed. It brings 20 points to a player.

Screenshot This enemy ship has two lives and brings 50 points to a player.

Screenshot This enemy ship has three lives and brings 100 points to a player.

Screenshot This player's laser is a bit faster than the enemy’s, but there are a lot more enemy ships so that is not a big advantage.

Screenshot This enemy's laser should be avoided.

Acknowledgments

The game is named after the song 'Fueuer frei!'(Fire at will, translated) by German band Rammstein. The same song is used for the soundtrack and the intro image is a picture from the band's concert. Buton, fire, and explosion sounds are from Freesound website'. Jared York's tutorial was very helpful while building the app.

Author

Ivana Novaković-Leković

Contributing

Contributions, issues, and feature requests are welcome!

Feel free to check the issues page.

License

MIT

Show your support

Give a ⭐️ if you like this project!

About

Simple platform game with attractive design and awesome music. Made using Javascript and Phaser. Try shooting some spaceships!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published