Code Monkey home page Code Monkey logo

megamanjs's Introduction

megamanjs

Build Status codecov.io code-climate

Project that aims at remaking Megaman 2 in JavaScript using WebGL as renderer.

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

See the v0.1 demo video: https://www.youtube.com/watch?v=LQHTdmzcV3E (lagging introduced by screen capture).

Running

Clone repo.

git clone https://github.com/pomle/megamanjs.git

Start a webserver of your choice in project dir, for example:

cd megamanjs
php -S localhost:8000 -t ./

or

cd megamanjs
python -m SimpleHTTPServer 8000

Browse to dev version at http://localhost:8000/src/dev.html and it should run.

Developing

Prerequisites

Install dev dependencies with

    cd megamanjs
    npm install

Testing

Unit Tests

Unit tests are run in Node using Mocha.

    npm run test:unit

Integration Tests

Integration / System tests are automaticly run in Chrome using Karma Runner and Mocha

    npm run test:integration

When adding scripts to project, add them to script-manifest.json and regenerate .

npm run generate

####Running locally in Chrome without web server (discouraged).

To run project locally without a web server, Chrome needs to be started with --allow-file-access-from-files flag.

Windows:

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" --allow-file-access-from-files

OSX

open -a "Google Chrome" --args --allow-file-access-from-files

Contributing

Contributions are welcome.

megamanjs's People

Contributors

pomle avatar

Watchers

James Cloos avatar Salim Badakhchani avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.