This game involves a dude always on the run while picking stars and jumping across obstacles. If he eventually collide with the obstacles which I called staticKiller. Dude is dead and game ends. And when he falls off the platform, dude also dies and game ends.
- Play as a hasty dude and collect stars while jumping from platform to platform and avoiding killer obstacle.
- Collect stars to increase your score.
- Avoid falling off platforms or colliding with Killer obstacle to not lose the game.
You need a keyboard to control the dude.
- Press ⬆️ to jump.
- Press ➡️ to go right.
- Press ⬅️ to go left.
Asset | Description |
---|---|
dude spritesheet to animate the player | |
Platform that the player can jump on | |
World background | |
Stars that the player can collect | |
Obstacles that the player needs to avoid |
- Javascript
- Phaser
- Webpack, Babel and Jest
To get a local copy up and running follow these simple example steps.
- Node.js
- npm
Run https://github.com/enaburekhan/Platform-Game.git
in your terminal to clone this repo.
Install the necesarry dependencies by running npm install
in the root of cloned repo.
open the index.html with a live-server to view the game in your default browser.
Run npm run test
to run the tests.
👤 Eric Enaburekhan
- Github: @enaburekhan
- Twitter: @enaburekhaneric
- Linkedin: @ericenaburekhan
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!
This project is MIT licensed.