donbrae / tripods-web

A puzzle game.

Home Page:https://www.tripodsgame.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Tripods

A puzzle game.

© Copyright Jamie Smith, 2013–present. All rights reserved.

npm

The only npm dependency is Babel, which is used to transform template literals to standard JS concatenation for ES5 compliance.

The following post-processing is handled by Netlify on deployment:

  • CSS: minification
  • JS: bundling

Local installation

npm install (for Babel only; see note above.)

Run/develop in the browser locally via the file system, or any web server, e.g. php -S localhost:8080.

Build

npm run build

This runs build.sh.

Test locally at ./dist/index.html.

Deployment to Netlify

  1. npm run build
  2. Commit to git

The publish directory on Netlify is dist.

Audio

Convert wav to m4a and webm

ffmpeg -i "【clipboard】.wav" -codec:a aac -b:a 256k "【clipboard】.m4a" && ffmpeg -i "【clipboard】.wav" -b:a 80k "【clipboard】.webm"

Notes

About

A puzzle game.

https://www.tripodsgame.com


Languages

Language:JavaScript 80.0%Language:HTML 11.7%Language:CSS 8.1%Language:Shell 0.1%