Commit Graph

13 Commits

Author SHA1 Message Date
d43804896d Add jshint header for playfield.js 2019-01-14 23:50:25 -05:00
2b9139dd66 Load more stuff from deck JSON
actually uses deck number and FaceURL

preperation for arbitrary decks (from TTS mods)
also changes to send only the deck part of the JSON
2019-01-14 23:50:25 -05:00
6619e20f4a Use PhantomJS to render PNGs from uploaded files
Not in a useful place yet, but hey: progress
2019-01-14 23:50:25 -05:00
77ca7ec536 Fix deckWidth->deckHeight typo 2019-01-14 23:50:25 -05:00
bb192cf535 Simplify access to deckJSON a bit
only needed a subsection
2019-01-14 23:50:25 -05:00
6e6f3189e1 Allow adding to bottom of pile by holding shift 2019-01-14 23:50:25 -05:00
d5b0b5ffee Make pile list behavior a bit less dumb
- drag and drop doesn't jump all over the place
 - can't drag cards from list into piles
2019-01-14 23:50:25 -05:00
1aa50927a8 Minor style fixes 2019-01-14 23:50:25 -05:00
c577e1c872 Use real width of SVGs for translation in editor 2019-01-14 23:50:25 -05:00
4a90b4f9f1 Allow re-arranging cards in piles and properly draw things in that view 2019-01-14 23:50:25 -05:00
9d07b4f0c5 Add shake animation for shuffling piles 2019-01-14 23:50:25 -05:00
38e17c0622 Really basic client-side card generation 2019-01-14 23:50:25 -05:00
61f2851246 Move client js to 'js' subfolder, rename script.js to playfield.js 2019-01-14 23:50:25 -05:00