This project consist on build game using phaser 3, ES6, Webpack and Jest.
- Phaser 3
- JS ES6
- Webpack
- Module Pattern
- SASS
- Jest
Clone the repository to your local machine
$ git clone https://github.com/davitomix/platform_game
cd into the directory, install dependencies, build and start
$ cd platform_game
$ npm install
$ npm run dev-start
Open
http://127.0.0.1:8080
using your favorite broswer, if it doesn't open automatically.
The main objective of this game is for the soldier to collect all the coins on his treasure. Each new round will spawn coins, flames and bombs. The bombs are the only killers here, so run from them. The flames wont kill the soldier, just take away his points, but don't fear, the soldier can slay the flame with his mighty strength.
To move the soldier, it's as simple as pressing the arrow keys.
- ↑ Up to jump
- ↓ Down while on air to fall faster
- ← Left to move left
- → Right to move right
To attack just press the space key.
Have fun playing. Any feedback will be appreciated.
$ cd platform_game
$ npm install
$ npm run test
- Characters and stylesheet for background from OpenGameArt
- Music by Juhani Junkala on OpenGameArt
- Sounds by Kenney.nl on OpenGameArt
- Bomb sound from RustLTD on OpenGameArt
👤 David Elí
- Github: @davitomix
- Twitter: @davitomix007
- Linkedin: David Garcia
Contributions, issues and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
The Odin Project Special thanks to shironitus, Ali zahid for the design concept and animations.
This project is MIT licensed.