Commit Graph
139 Commits
Author SHA1 Message Date
Mitchell McCaffrey cb8b66e55f Added touch supprt to fog polygon 2020-06-21 16:17:54 +10:00
Mitchell McCaffrey 2f740efd7c Added UI element to allow accepting fog polygon editing 2020-06-21 16:09:37 +10:00
Mitchell McCaffrey f85b379b15 Added grid snapping to fog polygon, added center snapping and fixed fog magnet 2020-06-21 14:55:17 +10:00
Mitchell McCaffrey a300e6bd79 Moved fog add toggle to two separate icons 2020-06-21 13:18:03 +10:00
Mitchell McCaffrey 3ba7c8809c Moved drawing tools into one section 2020-06-21 11:01:03 +10:00
Mitchell McCaffrey aa4ba33a0b Added fog polygon tool and changed fog interaction method 2020-06-19 18:04:58 +10:00
Mitchell McCaffrey f4d71cd6bf Add support for holes in fog subtraction 2020-06-14 12:27:05 +10:00
Mitchell McCaffrey 9eaece24e5 Added fog subtraction tool 2020-06-09 12:45:52 +10:00
Mitchell McCaffrey faddf03ecf Added show map grid option to maps 2020-05-31 16:25:05 +10:00
Mitchell McCaffrey 7dac49f690 Fix fog undo disabling 2020-05-31 13:56:33 +10:00
Mitchell McCaffrey 337a769fe4 Changed map and fog erase to allow for multi item selection 2020-05-31 12:12:16 +10:00
Mitchell McCaffrey 31cdbbb8dd Fix bug with deleteing tokens that have been removed 2020-05-31 10:23:45 +10:00
Mitchell McCaffrey a4a8722de0 Reversed zoom direction 2020-05-29 07:36:11 +10:00
Mitchell McCaffrey b8e5554058 Moved dice folder 2020-05-28 13:06:33 +10:00
Mitchell McCaffrey 1e0f767e73 Fix bug with default dice for select dice modal 2020-05-28 13:02:51 +10:00
Mitchell McCaffrey fc8c65e525 Removed unnesasary async from createDiceInstace and simplified dice meshes to reduce spawn delay 2020-05-28 12:51:42 +10:00
Mitchell McCaffrey 2775fc6e16 Changed dice scene name and added handlers for pointer cancel and leave 2020-05-28 12:25:20 +10:00
Mitchell McCaffrey 8432176014 Fix map scroll when modal open 2020-05-28 11:52:18 +10:00
Mitchell McCaffrey a567cee289 Disabled pointer events for dice tray results text 2020-05-27 18:41:34 +10:00
Mitchell McCaffrey 6f51fd8cbe Fix touch highlight for dice overlay 2020-05-27 16:39:53 +10:00
Mitchell McCaffrey 0d37f8c6e3 Changed map interaction to ignore events not on the canvas
This removes the need for calling prevent interaction all over the code also allowed pointer events to go through the empty parts of the dice tray
2020-05-27 15:26:42 +10:00
Mitchell McCaffrey 7f0b4e32af Separated dice loading and dice instance creation and added loading spinner for dice 2020-05-27 14:47:51 +10:00
Mitchell McCaffrey da84f923d1 Added per dice physics properties 2020-05-27 14:01:12 +10:00
Mitchell McCaffrey d4ec013df2 Zoom dice camera 2020-05-27 12:25:20 +10:00
Mitchell McCaffrey cf12ff22ed Added thickness to dice tray collision wall and roof 2020-05-27 12:04:28 +10:00
Mitchell McCaffrey 027fc480e1 Removed flex wrap from dice controls 2020-05-27 11:34:32 +10:00
Mitchell McCaffrey b786b176b0 Added multiple dice tray sizes 2020-05-27 11:24:17 +10:00
Mitchell McCaffrey 0a5b33a69f Removed outline when dice tray is focused 2020-05-26 17:21:50 +10:00
Mitchell McCaffrey 5a2e0a53ed Fix map scroll with modals open 2020-05-26 15:44:41 +10:00
Mitchell McCaffrey dec8fd3c2e Updated dice tray icon and fixed map interaction with select dice modal open 2020-05-26 15:43:46 +10:00
Mitchell McCaffrey 84b198c851 Added dice style select 2020-05-26 14:47:37 +10:00
Mitchell McCaffrey c99e5bf5f8 Adjusted dice mass and friction and added velocity window for dice throwing 2020-05-26 10:57:12 +10:00
Mitchell McCaffrey 3be729d4a0 Added reset to dice physics when rerolling 2020-05-25 20:52:11 +10:00
Mitchell McCaffrey 70f68a9093 Fix dice momenent conflict on touch devices 2020-05-25 20:46:21 +10:00
Mitchell McCaffrey fd5998ea17 Added dice tray resizing to match screen size 2020-05-25 20:37:17 +10:00
Mitchell McCaffrey 90e6e43c1d Merge branch 'release/v1.3.0' into feature/dice 2020-05-25 19:29:11 +10:00
Mitchell McCaffrey 43b0ff3e2e Removed double click map reset due to conflicts with other interactions 2020-05-25 18:56:46 +10:00
Mitchell McCaffrey 4b4c88f85c Added back double click to reset map transform 2020-05-25 18:08:39 +10:00
Mitchell McCaffrey 92c14533f1 Updated pinch map gesture to support movement and fix bug with drawing while pinching 2020-05-25 17:26:36 +10:00
Mitchell McCaffrey ef96f2f7c4 Reversed context menu as it was bugged with map interaction 2020-05-25 16:12:30 +10:00
Mitchell McCaffrey 6bd0cefc14 Added right click support back for token menu 2020-05-25 16:01:15 +10:00
Mitchell McCaffrey 33d7d972be Added map loading provider to fix bugs with multiple asset loading 2020-05-25 15:34:22 +10:00
Mitchell McCaffrey b0c1dcf9dd Changed map drag position to use a ref value to avoid re-renders
Added a useMapBrush helper
2020-05-25 15:07:12 +10:00
Mitchell McCaffrey 8932ceb1e3 Make map translation smoother by removing it from the state 2020-05-25 14:09:45 +10:00
Mitchell McCaffrey be7d6c5277 Moved to react spring for konva animations 2020-05-25 10:37:28 +10:00
Mitchell McCaffrey bbb9279228 Fix undefined error in token state sort 2020-05-24 13:32:49 +10:00
Mitchell McCaffrey a91f2c6d39 Added tap events for map interaction 2020-05-22 23:55:50 +10:00
Mitchell McCaffrey 5f2d282df8 Added pinch to zoom for map 2020-05-22 23:43:55 +10:00
Mitchell McCaffrey 09e423fd56 Added token animations back, edited token change event to support multiple edits
This stopped mounted vehicle animations from lagging
2020-05-22 22:17:30 +10:00
Mitchell McCaffrey ef1c875088 Added token rotation 2020-05-22 21:10:05 +10:00