A small platformer game built wiht Javascript and Phaser 3.
- This game is an endless runner platformer. The plataforms appear infinitly until the game ends and the game character (a cat) has to jump from building to building.
- If the cat falls below the edge of the screen the game ends.
- Your progress (score) is measured in seconds. The longer the cat stays "alive" higher the score.
- To jump you have to simply click on the screen with the left mouse button.
- The cat can jump twice. After the second jump, the cat has to touch a platform to be able to jump again.
- On the game over screen you can input your name and click on the "Save Score" button, to save your score in a leaderbord.
- If no name is given, the name "Default User" will be attributed.
- If you access the leaderboard (by clicking on the "Leaderboard" button) without saving your score, the score for that run WILL BE LOST!
- If you chose to return to the title screen (by clicking on the "Title Screen" button) without saving your score, the score for that run WILL BE LOST!
- By clicking on the "Leaderboard" button, on the Title screen or on the game over screen, You will be shown a Leaderboard with the top 10 scores.
Click Here to read the Game Design Document
- JavaScript, CSS, HTML.
- Phaser 3
- Webpack, Jest, Babel, eslint, stylelint, webhint.
To get a local copy up and running follow these simple example steps.
- On the top of the page there is a green button name "Code"
- Click on the "Code" button.
- A Menu will appear click in "Download Zip"
- Save the "phaser3-plataformer-feature-full-game.zip" file on your computer.
- Extract the contents of the "phaser3-plataformer-feature-full-game.zip" you just downloaded in a folder.
- nodeJS.
- A browser.
- Open your comand prompt.
- Go inside the folder "phaser3-plataformer-feature-full-game" (The one you extracted from the "phaser3-plataformer-feature-full-game.zip" file).
- Type
npm install
.
- Open your comand prompt.
- Go inside the folder "phaser3-plataformer-feature-full-game" (The one you extracted from the "phaser3-plataformer-feature-full-game.zip" file).
- Type
npm run start
(this should open a page in your default browser and the game should load).
- Open your comand prompt.
- Go inside the folder "phaser3-plataformer-feature-full-game" (The one you extracted from the "phaser3-plataformer-feature-full-game.zip" file).
- Type
npm run test
.
👤 João Paulo Dias França
- GitHub: @jpdf00
- Twitter: @jpdf00
- LinkedIn: João Paulo Dias França
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
Thanks to:
- Cat Asset by [LPC] Cats and Dogs" Artist: bluecarrot16 License: CC-BY 3.0 / GPL 3.0 / GPL 2.0 / OGA-BY 3.0.
- Building Asset by Pedro Neves.
- Sky Asset by Paulina Riva.
- Phaser 3 template tutorial by Bill Reed
- Phaser 3 Endless Runner tutorial by Emanuele Feronato
This project is MIT licensed.