|
e4819c1f26
|
Further fix server deck JSON generation
|
2019-01-14 23:50:25 -05:00 |
|
|
08e5a8f376
|
Partially fix server side deck generation for heros/villains
|
2019-01-14 23:50:25 -05:00 |
|
|
25ab1118bf
|
Remove margin in rendered deck image
|
2019-01-14 23:50:25 -05:00 |
|
|
933c275243
|
Add support for hero and villain decks
Should definitely have been smaller commits, but oh well, too lazy to
split them up now
important note: switched editor from XMLHttpRequest to fetch
|
2019-01-14 23:50:25 -05:00 |
|
|
b0ebbf2c62
|
Clean up all SVGs and prep villain and hero for adding
|
2019-01-14 23:50:25 -05:00 |
|
|
b6ab75b1aa
|
Add back a common css file, use lower contrast color/background-color
|
2019-01-14 23:50:25 -05:00 |
|
|
b0207e3f8b
|
Move css to subdirectory in prep for page-specific css
|
2019-01-14 23:50:25 -05:00 |
|
|
35973af7e3
|
Move deck files to 'decks' subdirectory and ignore
|
2019-01-14 23:50:25 -05:00 |
|
|
13b3ed4c96
|
Use JSON templates for deck info
|
2019-01-14 23:50:25 -05:00 |
|
|
d12ab839aa
|
Editor: Load existing input JSON if it exists
|
2019-01-14 23:50:25 -05:00 |
|
|
dfd6496513
|
handleUpload: make JSON, write to useful filenames, and add to decks
|
2019-01-14 23:50:25 -05:00 |
|
|
617176ed14
|
Simplify server switch/case and check if deck in decks list
|
2019-01-14 23:50:25 -05:00 |
|
|
26fa5f3398
|
Move playfield and editor html to separate files
|
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 |
|
|
4133ba8e7c
|
Add default text for discard pile
|
2019-01-14 23:50:25 -05:00 |
|
|
631edefc9c
|
Allow spaces in deck names
|
2019-01-14 23:50:25 -05:00 |
|
|
7f656842e5
|
Add page titles
|
2019-01-14 23:50:25 -05:00 |
|
|
5c4936155e
|
Use a list for deck index
Not terribly useful yet, but easier to manually add to
|
2019-01-14 23:50:25 -05:00 |
|
|
1aa50927a8
|
Minor style fixes
|
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 |
|
|
068ee81df9
|
Fix contentType -> Content-Type
|
2019-01-14 23:50:25 -05:00 |
|
|
26849affc9
|
Initial setup for multiple decks
|
2019-01-14 23:50:25 -05:00 |
|
|
d32d50226b
|
Basic playmat stuff: deck/discard, hand, card movement
|
2019-01-14 23:50:25 -05:00 |
|