It's the year 3000! The planet Retoohs Ecaps is under attack from the Envoy, an alien race seeking to colonise your galaxy. You're the last remaining Starship. Can you prevent an all out invasion?
Attain a top 10 score to save your planet! Your score will be only be displayed on the leaderboard if it falls within the top ten warlord scores.
The game is split into five scenes:
- a Boot scene for initial startup
- a Preload scene for loading game assets
- a Title or start game scene
- a Game scene where the action takes place
- and a Leaderboard scene for displaying the top 10 scores
- Start Game
- Move player in all four directions horizontally and vertically
- Spawn enemies
- Enemy lasers
- Player lasers
- Destroy enemy ships
- End game for player
- Score system
- Ship explosion animation on impact with lasers
- Game sounds and music
- Additional scenes for Settings, Credits, etc
- Mobile compatible version
SPACE
= PLAYER LASERLEFT ARROW
= MOVE LEFTRIGHT ARROW
= MOVE RIGHTUP ARROW
= MOVE UPDOWN ARROW
= MOVE DOWN
- HTML5
- JavaScript ES6
- Phaser
- Fetch API
- Leaderboard API
- webpack 5
- Jest v26.6
To get a local copy up and running follow these simple example steps.
Install Node.js with npm
Install webpack
Clone repo into your local environment:
Clone with SSH
git clone git@github.com:cliftondavies/Retoohs-Ecaps.git
Clone with HTTPS
git clone https://github.com/cliftondavies/Retoohs-Ecaps.git
Open project directory
cd [your-directory-name]
Install packages:
npm install
Start server:
npm run start:dev
Run tests:
npm test
Visit http://localhost:8080/
.
👤 Clifton Davies
- Github: @githubhandle
- Twitter: @twitterhandle
- Linkedin: linkedin
Contributions, issues and feature requests are welcome!
Give a ⭐️ if you like this project!
Copyright (c) 2020 Clifton Davies. This project is licensed under MIT. See LICENSE file for details.