All Projects → yocosaka → Platform-game

yocosaka / Platform-game

Licence: MIT License
I built a platform game, Grab Fruits!, with Phaser library. A player is expected to collect as many fruits as possible without touching spiders.

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to Platform-game

phaser-ui-comps
Phaser 3 UI Components built by Adobe Animate
Stars: ✭ 60 (+130.77%)
Mutual labels:  phaser3
MedievalWar
A simple turn-based strategy game using Phaser 3
Stars: ✭ 22 (-15.38%)
Mutual labels:  phaser3
marthas rescue shooter game
This is a shooter game featuring Martha, a battle aircraft pilot who's trying to rescue her father. In this app, you will be able to help her by shooting and destroying the enemy's aircraft. Built with Javascript and Phaser 3.
Stars: ✭ 31 (+19.23%)
Mutual labels:  phaser3
ts-phaser-bomb-game
Bomberman clone using websockets and phaser 3
Stars: ✭ 18 (-30.77%)
Mutual labels:  phaser3
phaser-jam-template
A Phaser Template to kick off your Game Jam with everything you need. Typescript, code quality, building for itch, various input methods, examples, bootloader, preloader, main game, end screen, credits screen and license screen.
Stars: ✭ 18 (-30.77%)
Mutual labels:  phaser3
template
使用 phaser3 + es6 + webpack4.8.1 配置开发游戏(基本模版)
Stars: ✭ 12 (-53.85%)
Mutual labels:  phaser3
phaser3-dungeon-crawler-starter
A starter project for creating a Dungeon Crawler with Phaser 3
Stars: ✭ 69 (+165.38%)
Mutual labels:  phaser3
genie-starter-pack
This is the Starter Pack for Genie games. Containing everything a games developer might need to start building a game using the Genie framework. Every game should be forked into a new repository from this repo.
Stars: ✭ 15 (-42.31%)
Mutual labels:  phaser3
phaser3-planck
Implement planck.js physics in Phaser3
Stars: ✭ 18 (-30.77%)
Mutual labels:  phaser3
phaser-3-palette-swapping-example
Example of using palette swapping on a spritesheet in Phaser 3.
Stars: ✭ 32 (+23.08%)
Mutual labels:  phaser3
phaser-plugin-game-scale
Scale or resize the game canvas. Phaser v3.15 only
Stars: ✭ 35 (+34.62%)
Mutual labels:  phaser3
phaser3-typescript-template
A Phaser 3 TypeScript Template
Stars: ✭ 30 (+15.38%)
Mutual labels:  phaser3
ionic4-phaser3-template
Ionic 4 and phaser 3 template
Stars: ✭ 19 (-26.92%)
Mutual labels:  phaser3
phaser3-simple-rpg
A simple Phaser3 RPG using Typescript ⚔️
Stars: ✭ 80 (+207.69%)
Mutual labels:  phaser3
phaser3-rollup-typescript
Phaser 3 TypeScript Starter
Stars: ✭ 129 (+396.15%)
Mutual labels:  phaser3
phaser3-multiplayer-game-example
Phaser 3 multiplayer game example using geckos.io
Stars: ✭ 114 (+338.46%)
Mutual labels:  phaser3
realtime-multiplayer-space-invaders
Realtime Multiplayer Space Invaders Game with Phaser 3 and Ably
Stars: ✭ 42 (+61.54%)
Mutual labels:  phaser3
phaser-parcel
A Phaser 3 game template using Parcel bundler
Stars: ✭ 64 (+146.15%)
Mutual labels:  phaser3
phaser3-webpack-es6-dev-starter
Development set up for Phaser 3, Webpack, and ES6.
Stars: ✭ 44 (+69.23%)
Mutual labels:  phaser3
Cavemen-GGJ2019
A multiplayer survival game developed during Global Game Jam 2019.
Stars: ✭ 21 (-19.23%)
Mutual labels:  phaser3

Grab Fruits!

Top Page Screenshot

About the Project

This project is to build a platform game with Phaser library. It was built as the JavaScript capstone project at Microverse.

In this project, I did these things:

  • Planned the game overview and specific mechanic with Game Design Document(GDD)
  • Built platform game with Phaser library
  • Implemented a scoring system using the given API to save the score with a username and display it in a game view
  • Deployed to a server so the game is accessible for anyone

Also, these features are added:

  • Three modes: Easy, normal, and hard that is different on the speed of showing enemies and fruits
  • Double jump: The main character can double jump

A list of commonly used resources that I find helpful is listed in the acknowledgments.

Table of Contents

Built With

Live Demo

Live Demo Link

Game Design Document

Game Design Document (GDD) Link

Getting Started

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

  1. On the project GitHub page, navigate to the main page of the repository.
  2. Under the repository name, locate and click on a green button named Code.
  3. Copy the project URL as displayed.
  4. If you're running the Windows Operating System, open your command prompt. On Linux, Open your terminal.
  5. Change the current working directory to the location where you want the cloned directory to be made. Leave as it is if the current location is where you want the project to be.
  6. Type git clone, and then paste the URL you copied in Step 3.
    e.g. $ git clone https://github.com/yourUsername/yourProjectName
  7. Press Enter. Your local copy will be created.
  8. To run the test, run npm test

How to run the game

  1. After cloning or downloading this repository, in the terminal, move to this folder eg: cd Desktop/platform-game
  2. Run npm install or yarn install
  3. After installing packages in step2, run npm run build
  4. Run npm run dev, then the local server will be automatically opened
  5. Choose dist folder, and start the game

What is Grab Fruits

Grab Fruits! is a simple game as its name is. A player is expected to collect as many fruits as possible without touching spiders.

How to play the game

  1. Click the "Click to Start" button
  2. Input a username that will be shown if a player will be a top 5 scorer.
  3. Choose the mode from easy, normal, or hard that is different on the speed of showing spiders(enemy) and fruits
  4. Start the game
  5. In the game-over view,
  • To see the top 5 scorers, click the "Score" button.
  • To start the different username or mode, click the "TOP" button
  • To restart the game in the same mode, click the "Restart" button
  1. In the score view,
  • The top 5 scorers are showing with their username and their score
  • To start the different username or mode, click the "TOP" button
  • To restart the game in the same mode, click the "Restart" button

Rule of the game

  • A player gets a 70 scores when touching a fruit
  • The game will be over when a player touches a spider
  • A player can be operated by using keyboard cursors arrows (←, →, ↑).
  • To run to the left, click , to the right, click , and to jump up, click
  • A player can double jump, to do it, click ↑ again in the air

Author

👤 Yoko Saka

Contributing

Contributions, issues, and feature requests are welcome! Feel free to check the issues page.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Show your support

Give a ⭐️ if you like this project!

License

This project is MIT licensed.

Acknowledgements

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].