Skip to content

This is an endless runner platform game built using JavaScript, HTML/CSS and Phaser.

License

Notifications You must be signed in to change notification settings

arslanbisharat/Platform_Game

Repository files navigation

JavaScript Capstone Project: Build a Platform Game

This is Microverse's final project in Javascript's course.

In this project, I build a Platform game using JavaScript's framework, a "fast, free and fun open-source framework for Canvas and WebGL powered browser games".

screenshot screenshot

Table of Contents

About

This project's objective was to build a Platform game.

The assignment can be seen here.

Link to a live version here.

Repository: https://github.com/arslanbisharat/PLATFORM_GAME

The game

First, you can add your name to the game.

This is a simple endless runner. Enemies appear walking towards you, some pursue you. You have to over-pass them. Just cross as many enemies as you can before you you die.

How to play

First the most important: how to play.

You can move right and left using right and left arrows, respectively, and to jump use space.

You can play the game online by clicking here or locally following these steps:

  • Click on the green button "Clone or Download"
  • Click on Download ZIP
  • Extract the game
  • make sure to run npm install
  • In your terminal, navigate to the game's folder
  • Run 'node server.js'
  • Open, in your browser, 'localhost:8080'

Design

First of all: this is a simple pixel game. You can't expect to see high-quality graphics. Or medium-quality graphics... So, the ship's designs are just a low-quality version of the original design.

The game is based on Endless Runner Game Leaderboard

Allows you to check the high scores on the leaderboard. Credits

Shows you the credits scene, with everyone who helped me building this app; Options

In the next screen, it allows you to mute the music and/or the sound; Play Game

Starts the game.

Scenes

This game is composed of six scenes each one with its music.

Technologies used

To create this game I used:

  • JavaScript
  • A bit of HTML and CSS for the front end
  • Phaser 3
  • Webpack
  • Eslint
  • Babel
  • Jest in the tests
  • Express
  • Github
  • Heroku for the deployment
  • Leaderboard API service for the leaderboard

Video presentation

video

Future Work

  • Mobile version
  • Possibility to play with Millennium Falcon
  • Stage mode

Learning Objectives

Transversal

  • Use linters (code standards) mast
  • Maintain professional Github repos mast
  • Deploy apps (Heroku, Netlify) mast

Soft skills

  • Strong English written communication mast
  • Ability to communicate information effectively to non-technical people mast
  • Ability to translate business requirements into software solutions mast
  • Sets high standards of performance to oneself mast
  • Shows a desire to take personal responsibility to complete tasks and solve problems mast
  • Ability to multitask and effectively manage time and prioritzation mast

Technical

  • Create effective JavaScript code that solves the problem mast
  • Encapsulate JS code in modules mast
  • Use Webpack mast
  • Use EcmaScript+ mast
  • Deal with async code mast
  • Send and receive data from a back-end endpoint mast
  • Use JSON format mast
  • Use DOM (read/write data) listen to events mast
  • Test JS code mast

Contact

Arslan Bisharat

Acknowledgements

Microverse

About

This is an endless runner platform game built using JavaScript, HTML/CSS and Phaser.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published