Skip to content

An attempt to remake Megaman 2 in JavaScript with the end goal being a reusable platform engine.

Notifications You must be signed in to change notification settings

pomle/megamanjs

Repository files navigation

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.

About

An attempt to remake Megaman 2 in JavaScript with the end goal being a reusable platform engine.

Resources

Stars

Watchers

Forks

Packages

No packages published