Skip to content

siims/gloomhaven-card-visualizer

Repository files navigation

Gloomhaven Card Visualizer

TLDR

Get overview of your Gloomhaven character ability cards. See here: https://siims.github.io/gloomhaven-card-visualizer/

Motivation

I love overviews and hate physical routine tasks. It takes some tedious work to lay out all ability cards to pick for scenario.

My character not included?

Either
a) create a pull request or
b) create an issue

Dev details

Requirements

node v8+ and npm 6+

Running locally

npm install
npm run start
# open browser and visit http://localhost:3000/

Adding character

  1. Add json data file to src/data/ (follow existing examples there)
  2. src/models/Character.ts add new type to CharacterType type and CharacterTypes array
  3. src/stores/CharacterDataStore.ts import newly created data file and insert a line (this.setCharacter(this.transformToCharacter(yourCharData))) to method loadCharacterData
  4. get your character ability card png images
  5. copy images to public/static/images/cards/
  6. that is all, enjoy!

Github pages

There is a separate branch gh-pages that is served by github. Updating goes in 7 steps:

git checkout gh-pages
git merge master # have latest state
npm run build
rm -r static/ # cleanup previous build files
rsync -a build/* . # make page available on root, not under build
git add -A .
git commit -m "github pages build update"
git push origin gh-pages

Thanks

@saizai for work with gloomhaven tabletop simulator assets (https://drive.google.com/drive/folders/1SiXb3u2mJbN-Dg2j3Rb-y5amnRJSXIDc) - I never would have bothered to do media processing.

About

Get overview of your Gloomhaven character ability cards

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages