Skip to content

Latest commit

 

History

History
61 lines (34 loc) · 1.75 KB

README.md

File metadata and controls

61 lines (34 loc) · 1.75 KB

megamanjs

Build Status codecov.io

Project that aims at creating a game engine in JavaScript using Megaman 2 on NES as guide. WebGL is used as renderer and despite Megaman 2 being a 2D game it is run in 3D space using THREE.js as 3D lib.

Deployed at http://megaman.pomle.com/

This project have generated the SnakeSilk Game Engine and the following libraries:

Follow the project blog at https://medium.com/recreating-megaman-2-using-js-webgl

Running

  • Clone repo.

      git clone https://github.com/pomle/megamanjs.git
      cd megamanjs
    
  • Install dependencies

      yarn install
    
  • Start; should open game in a browser.

      yarn start
    

Developing

Prerequisites

  • Make sure you are running Node.js >= 7. Installation instructions for your platform can be found at https://nodejs.org/en/download/package-manager/.

      node --version
    
  • Install dev dependencies.

      cd megamanjs
      yarn install
    
  • Run test suite.

      yarn test
    

    The test suite begins with running a Mocha unit test in Node. After that a Chrome window should open and run a browser test.

Contributing

Contributions are welcome.