impact-fork

nodejs backend for impactjs (http://impactjs.com)

Usage no npm install needed!

<script type="module">
  import impactFork from 'https://cdn.skypack.dev/impact-fork';
</script>

README

node-impact

  1. Create the folder that you want impact to be installed into for your game
  2. Move into that folder from the terminal
  3. Issue the command: npm install impact-fork
  4. Copy "tools", "media" and "lib" directories from impact.js into node_modules/impact-fork/game/public (get impact.js here: http://impactjs.com/)
  5. Move into the node_modules/impact-fork/game/ directory
  6. Run the command: node server.js
  7. Open a web browser and browse to "http://localhost:8080/"
  8. If you are starting with a fresh copy of impact, you will simpley see a black square with the words "It Works!" inside