samsherrod / 2D-Platformer

2D Platformer Game Made With Phaser.js - view at https://samsherrod.github.io/2D-Platformer/website/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Agile Software Practices Group Project

University of London Group: cm2020-agil-t3g4-2gh's project for Agile Software Practices

The Project

This project is a 2D platformer game made in Phaser.js. It's made with object oriented and agile software practices, as well as git/version control.

  • contains tile based maps as levels
  • a player that can move left, right, jump, and collides appropriately with platforms
  • idle, run, and jump animations with proper transitions
  • enemies patrol back and forth
  • knockback feature with invincibility buffer and animation
  • full screen mode

Goal

  • Navigate each carefully crafted level while fighting you way through enemies and jumping on platforms!

Controls

  • Use the arrows keys to move left and right
  • Space or the up arrow key to jump
  • Z to maximize screen

Screenshots

sample_level_screenshot sample_level_screenshot sample_level_screenshot

More features to come!

  • Fighting functionality
  • Updated levels
  • Collectables
  • Sound

Specifications

-Artwork created by szadiart.itch.io -Artist states: "You can use this asset personally and commercially."

-Heart GUI found on https://digitherium.com/blog/phaser-platformer-series-13-hearts-lives/

References:

To view the project from anywhere:

Go to https://github.com/samsherrod/2D-Platformer/website to view and access it directly. Upon clicking the game link (section #3), game/dist is loaded from the gh-pages branch that contains only the build files.

To edit the project:

  • Clone or download repository from https://github.com/samsherrod/2D-Platformer/website

  • Navigate to the command line in the root folder called 2D-Platformer

  • install node_modules if it is not already installed (npm install)

  • NOTE TO VIEW: type npm start and project should load on your browser at localhost:8080

  • INSERT CODE IN BETWEEN npm start AND npm build to edit project files

  • running npm start will delete the dist folder (the build folder) so type npm run build to recreate the dist folder and re-build it

  • After rebuilding the project, you can now view the updated build by clicking on the Live Preview button in Brackets or the Go Live button in Visual Studio for instance without typing npm start

  • NOTE TO UPLOAD CHANGES TO REPOSITORY: type npm run deploy to upload the build files (dist folder) onto the gh-pages branch on the repository (https://github.com/samsherrod/2D-Platformer). The gh-pages branch only contains the build files and not the entire project.

About

2D Platformer Game Made With Phaser.js - view at https://samsherrod.github.io/2D-Platformer/website/

License:MIT License


Languages

Language:JavaScript 80.7%Language:CSS 16.0%Language:HTML 3.4%