Commit Graph

717 Commits

Author SHA1 Message Date
Buhallin
3f59088b58
Merge pull request #196 from argonui/doom-rotation
Fixing doom rotation for bottom token bag
2023-01-20 12:23:52 -08:00
Chr1Z93
8a0a7e61ad fixing doom rotation for bottom token bag 2023-01-20 13:15:42 +01:00
Buhallin
0feef29272
Merge pull request #195 from argonui/tokens
Update token templates and handling for TokenManager
2023-01-18 01:08:32 -08:00
Buhallin
ca7f5b6367
Update playermat token check to use Memo 2023-01-18 01:06:07 -08:00
Buhallin
7e09f5e780
Update token templates and handling for TokenManager
- Moves token keys from GMNotes to Memo to avoid issues attempting to parse invalid JSON
- Merges the clue and doom tokens to a single token and rotates it to properly spawn doom
- Updates the various token pools to match the TokenSource objects so spawned tokens can go back into the pools
2023-01-18 00:42:38 -08:00
Chr1Z
99cf04761e
Merge pull request #194 from argonui/weakness-finder
Remove area check when drawing a random weakness
2023-01-16 12:11:05 +01:00
Chr1Z
dae2f0d83c
Merge pull request #189 from argonui/standalone-scenario-box-size
Standalone Scenario Box: increasing size by 30%
2023-01-16 12:10:35 +01:00
Buhallin
679fcd03de
Remove area check when drawing a random weakness
If the weakness is on the table, don't consider it for the random weakness pool
2023-01-16 02:38:57 -08:00
Chr1Z
9e3a6c454d
Merge pull request #193 from argonui/custom-bug
Check for card types when updating customizable data
2023-01-16 11:35:53 +01:00
Chr1Z
2e92953a24
Merge pull request #192 from argonui/pickup-fix
Fix check for missing metadata in PlayArea onObjectPickup
2023-01-16 11:34:36 +01:00
Chr1Z93
5e08a30d1c updated size and position 2023-01-16 11:33:17 +01:00
Buhallin
6a09da1723
Check for card types when updating customizable data
Avoids errors from GMNotes on tokens which aren't JSON
2023-01-16 02:29:08 -08:00
Buhallin
2e5484d97b
Fix check for missing metadata in PlayArea onObjectPickup 2023-01-16 02:12:23 -08:00
BootleggerFinn
6990c8a628
Merge pull request #191 from argonui/playmat-discard-button-size
Playmat: Increasing size of discard buttons
2023-01-15 17:46:31 -06:00
Chr1Z93
3ee647f5e7 increasing size of discard buttons 2023-01-16 00:43:46 +01:00
Chr1Z
b2a096e593
Merge pull request #190 from argonui/taboo-card-images
Taboo Cards with higher resolution
2023-01-15 13:55:52 +01:00
Chr1Z
eb6d1f288b
Merge pull request #188 from argonui/cleanuphelper-patch
Clean Up Helper: fixed typo for TokenSpawnTrackerApi
2023-01-15 13:55:24 +01:00
Chr1Z93
6735b40b44 updated lola and mandy 2023-01-14 20:05:09 +01:00
Chr1Z93
2f15041c5c art with higher resolution 2023-01-14 19:57:31 +01:00
Chr1Z93
e71d68a82b increasing size by 30% 2023-01-14 19:31:33 +01:00
Chr1Z93
b3ec5cf8a8 fixed typo for tokenspawntrackerapi 2023-01-14 17:58:10 +01:00
Chr1Z
5f0b2037db
Merge pull request #187 from argonui/loc-snap-shadow
Bugfix for location lines
2023-01-13 22:34:22 +01:00
Chr1Z
fd3862bbcf
Merge pull request #186 from argonui/chaos-bag-snap
Adding snap for chaos bag, tarot deck and release notes
2023-01-13 22:33:55 +01:00
Buhallin
e994a16992
Remove unnecessary blank line 2023-01-13 11:10:48 -08:00
Buhallin
8ca3ac9247
Bugfix for location lines
- Fixes a timing issue which would cause shadow lines to appear when hovering on a snap point
- Fixes a missing nil check that would cause errors during onUpdate if the card had no connections
2023-01-13 11:08:55 -08:00
Chr1Z93
0d122cb3da adding snap for chaos bag, tarot deck and release notes 2023-01-13 01:22:12 +01:00
Chr1Z
31006694b8
Merge pull request #184 from argonui/faster-connectors
Optimize location connection drawing during drag operations
2023-01-12 01:06:39 +01:00
Chr1Z
1e554f84a5
Merge pull request #185 from argonui/enable-dr
Enable connection drawing for Devil Reef
2023-01-12 00:47:24 +01:00
Buhallin
42ce7e726e
Enable connection drawing for Devil Reef 2023-01-11 15:46:27 -08:00
Chr1Z
560ddf7b56
Merge pull request #183 from argonui/title-gradient
Enhancements and tweaks for the scenario title splash
2023-01-11 23:46:19 +01:00
Buhallin
bcc6dc5b8d
Tweak title splash
- Move position up
- Add common COLLISION_ENABLED handling to prevent splash from showing when reloading a save with the scenario card on the table
2023-01-11 14:37:30 -08:00
Buhallin
7a2d025f37
Update title gradient image (again) 2023-01-11 14:28:24 -08:00
Buhallin
118035239d
Change title gradient image to red 2023-01-11 13:55:34 -08:00
Buhallin
e6854801fb
Clear vector lines from cards when they're not being dragged
The events which can indicate a drag stop are varied:
- Drag a card into another on the table (tryObjectEnterContainer)
- Drag multiple cards into another on the table (onCollisionEnter, tryObjectEnterContainer)
- Group multiple cards while holding them (tryObjectEnterContainer)
2023-01-11 13:42:58 -08:00
Buhallin
67eaa646e1
Remove old lines 2023-01-11 03:39:33 -08:00
Buhallin
6b52e412e9
Turn off debug 2023-01-11 03:36:11 -08:00
Buhallin
a65cf33059
Optimize location connection drawing during drag operations
Previously the entire location map was being rebuilt and redrawn in onUpdate() during a drag operation, including the connectors which weren't changing.  This was causing notable lag on some systems.

This splits the draw operations into two separate pieces - locations on the board which are unchanging, and locations which are being dragged.  This allows only connections which are actually moving to be recalculated.

Since TTS only allows a single list of vector lines per object the dragged lines are now set on the cards themselves rather than the PlayArea.  This may possibly improve performance in itself, by keeping each list of vectors smaller.  Supporting this required some changes in how pre-built connections are handled.
2023-01-11 00:57:06 -08:00
Buhallin
3211ae848d
Merge pull request #182 from argonui/cleanuphelper
Clean Up Helper: Bugfix of renamed variables
2023-01-10 18:09:52 -08:00
Buhallin
bf79fa986e
Merge pull request #181 from argonui/menu-offset-increase
Bottom menu: Increase offset from 60 to 80
2023-01-10 18:09:21 -08:00
Buhallin
7ee0879291
Ensure text resizes instead of wrapping 2023-01-10 18:08:25 -08:00
Buhallin
5caeb47c82
Enhancements and tweaks for the scenario title splash
- Add a background gradient
- Add a wrapping panel to hold both text and gradient
- Add font resizing in case of very long scenario names.  None currently overflow, but this should ensure they stay on one line if we get a longer one
2023-01-10 18:05:19 -08:00
Chr1Z93
24ca8865f4 rename variables 2023-01-11 00:29:45 +01:00
Chr1Z93
d4b2a58e76 increases menu offset from 60 to 80 2023-01-10 21:21:33 +01:00
Buhallin
9d522b5392
Merge pull request #180 from argonui/playarea-bugfix
Playarea: Only trigger onPickup for cards, documentation update
2023-01-10 11:35:23 -08:00
Chr1Z93
f9e64f5f1e typo fix 2023-01-10 19:39:59 +01:00
Chr1Z93
be65664163 adding missing line 2023-01-10 19:38:01 +01:00
Chr1Z93
c9db56be37 only trigger onpickup on playarea for cards, documentation update 2023-01-10 19:31:02 +01:00
Chr1Z
7da588bd33
Merge pull request #178 from argonui/helpers
Fix two timing-related bugs in MythosArea
2023-01-10 07:57:20 +01:00
Buhallin
b14b498558
Merge pull request #174 from argonui/replenish-fix
Bugfix for replenishing with Resource Counters
2023-01-09 16:29:29 -08:00
Buhallin
43aa780ced
Merge pull request #177 from argonui/downloadbutton
Moving download button below return to boxes
2023-01-09 16:28:48 -08:00