Commit Graph
59 Commits
Author SHA1 Message Date
Mitchell McCaffrey 2330709e62 Allow setting asset manifest to null 2021-03-26 15:48:55 +11:00
Mitchell McCaffrey c77db06bce Restructure asset manifest to split replication id and assets 2021-03-23 10:24:01 +11:00
Mitchell McCaffrey 75f4b97135 Moved asset manifest to use partial network updates and fix asset cache ignoring changes 2021-03-22 21:23:43 +11:00
Mitchell McCaffrey 53d4e05502 Clear map actions on reset 2021-02-22 17:14:12 +11:00
Mitchell McCaffrey 002a52674b Clear map actions when map changes 2021-02-11 23:09:00 +11:00
Mitchell McCaffrey 24e64f9d32 Update maps and tokens to have thumbnails and removed loading of all files on load 2021-02-08 16:53:56 +11:00
Mitchell McCaffrey 905b43a64b Merge branch 'master' into release/v1.7.1 2021-02-07 16:04:00 +11:00
Mitchell McCaffrey 09471bdf2b Added requesting asset tracking to prevent assets loading multiple times 2021-02-07 14:47:34 +11:00
Mitchell McCaffrey f20173de35 Added shared grid context and moved away from calling useContext directly 2021-02-06 13:32:38 +11:00
Mitchell McCaffrey de84e77e58 Add basic hex functionality and clean up hooks and Vector2 class 2021-02-04 15:06:34 +11:00
Mitchell McCaffrey fa1f6fe18f Converted draw actions storage to collapsed representation
Moved to command pattern for action application
2021-02-04 09:11:27 +11:00
Mitchell McCaffrey 99502bc878 Added tracking of requesting assets to prevent multiple requests 2021-01-25 08:38:50 +11:00
Mitchell McCaffrey bda0aa9ebe Merge branch 'master' into release/v1.7.1 2021-01-25 08:19:25 +11:00
Mitchell McCaffrey 1c143f5464 Moved token request to DB and added sanity check to putToken 2021-01-24 17:50:52 +11:00
Mitchell McCaffrey 493377233c Removed strict null check from map and mapState 2021-01-23 00:01:15 +11:00
Mitchell McCaffrey 3abf9c62fa Changed data contexts to use useCallback and fixed performance issues when changing party state 2021-01-22 14:59:05 +11:00
Mitchell McCaffrey b9e681f7a1 Updated network state debounce to 500ms 2021-01-22 06:59:49 +11:00
Mitchell McCaffrey 4f76652eff Added null checks to asset manifest 2021-01-21 13:51:23 +11:00
Mitchell McCaffrey ddf3a6daed Fix bug with adding tokens when no map is selected 2021-01-21 11:29:39 +11:00
Mitchell McCaffrey 1e545b3220 Added comment to peer data progress 2021-01-20 19:20:38 +11:00
Mitchell McCaffrey 272793b1ee Fix token add to manifest 2021-01-20 19:20:21 +11:00
Mitchell McCaffrey 28b9886b06 Moved asset load callbacks to take into account database insertion time 2021-01-20 18:08:03 +11:00
Mitchell McCaffrey c89a75a23e Disabled multiplexing 2021-01-04 13:34:09 +11:00
Mitchell McCaffrey abd5f12269 Added a clear map call to map changes 2021-01-04 09:48:08 +11:00
Mitchell McCaffrey 524a6d9aea Update network partial updates to have id to prevent invalid changes 2021-01-04 09:34:25 +11:00
Mitchell McCaffrey 852d5bce81 Added force update option to useNetworkedState 2021-01-03 16:45:55 +11:00
Mitchell McCaffrey a4c67ce81f Removed partial updates from manifest 2021-01-03 12:12:13 +11:00
Mitchell McCaffrey cbcc9ada72 Fix file maps not appearing on refresh for map owner 2021-01-01 13:56:12 +11:00
Mitchell McCaffrey b9876c6a38 Fix offline mode and move to optional chaining for session socket 2021-01-01 12:44:56 +11:00
Mitchell McCaffrey 501fc4377c Optimised pointer 2020-12-31 17:56:51 +11:00
Mitchell McCaffrey 5e244617ae Changed Session event names to better match new model 2020-12-12 16:08:10 +11:00
Mitchell McCaffrey 089fd27ccf Converted custom token support to new network model 2020-12-12 15:03:24 +11:00
Mitchell McCaffrey 6a4c6b30ec Moved peer connections to an optional pull model 2020-12-11 13:24:39 +11:00
Mitchell McCaffrey f2cb8b69db Moved to socket for game state networking 2020-12-05 17:16:06 +11:00
Mitchell McCaffrey 6fedcc171d Added note edit flags 2020-11-05 16:21:52 +11:00
Mitchell McCaffrey a6085599dd Added note removal 2020-11-05 14:41:33 +11:00
Mitchell McCaffrey a3ae3471e8 Added note menu and note text 2020-11-04 15:03:34 +11:00
Mitchell McCaffrey 6c1d952855 Added basic persistance to notes 2020-11-03 17:15:39 +11:00
Mitchell McCaffrey c743901962 Added check for map state in map state network update 2020-10-30 11:57:36 +11:00
Mitchell McCaffrey 04dceef022 Added check for resolutions in map send 2020-10-30 11:52:23 +11:00
Mitchell McCaffrey 21f4446db3 Fixed bug with sending maps when the map owner has left the party 2020-10-27 19:30:39 +11:00
Mitchell McCaffrey 41ffd15a0c More fake-indexeddb 2020-10-24 09:13:29 +11:00
Mitchell McCaffrey 05e66e5e82 Reverted unnecessary changes to fix fake-indexeddb issue 2020-10-24 09:05:16 +11:00
Mitchell McCaffrey f8d7f7f19f Updated update map 2020-10-24 00:01:46 +11:00
Mitchell McCaffrey 97c436b5e4 Removed id from map update data 2020-10-23 23:35:43 +11:00
Mitchell McCaffrey 37542dc0e6 Moved session and connection helpers and change data sending to use write streams 2020-10-23 10:27:22 +11:00
Mitchell McCaffrey f9b55b4673 Fixed bug with direct database update for map state 2020-10-22 20:57:29 +11:00
Mitchell McCaffrey e92c561a3a Added automatic cache invalidation for maps and tokens 2020-09-11 16:56:40 +10:00
Mitchell McCaffrey b4e52ebb23 Fixed 2 bugs with map loading and sending
When a map was sent the receiver didn't save the resolutions tihs meant that if the original map owner left or wasn't the party leader the map would be blank when new users joined. Also if a map sender left when sending a map and rejoined their version of the map would be overriden by a corrupted version.
2020-08-28 17:06:13 +10:00
Mitchell McCaffrey c6f9b29cc3 Added simple pointer tool 2020-07-28 17:59:26 +10:00