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
Buhallin
ec6f2ab585
Fix two timing-related bugs in MythosArea
...
- Using a frame delay in onObjectEnterContainer was causing errors. Unclear why, but removing the delay fixes it
- Add a delay to the scenario splash screen, as load lag when placing large scenarios was causing the show to be janky
2023-01-09 16:26:59 -08:00
Chr1Z93
1683ae05ef
moving downloadbutton below return to boxes
2023-01-09 23:18:54 +01:00
Chr1Z93
5daf7e01c5
gm notes in token bags (except clue / doom)
2023-01-09 23:14:37 +01:00
Buhallin
c63cb8fb5d
Merge pull request #175 from argonui/tokenspawntracking
...
Bugfix for hand zone GUIDS
2023-01-09 14:02:22 -08:00
Buhallin
8ee1986dd4
Merge pull request #176 from argonui/connection-tag
...
Bugfix: Adding missing location tag to connection token states
2023-01-09 13:59:35 -08:00
Chr1Z93
c847d98e34
adding location tag to connection token states
2023-01-09 21:22:35 +01:00
Chr1Z93
b54ebbe0b8
bugfix for hand zone guids
2023-01-09 20:59:37 +01:00
Chr1Z93
04bca4b998
fixing replenish for resource counters
2023-01-09 20:56:31 +01:00
Chr1Z
6becef2c79
Merge pull request #173 from argonui/version-bump
...
Bump version name for 3.0 release
2023-01-09 07:01:28 +01:00
Chr1Z
51102ae9e0
Merge pull request #172 from argonui/tour-update
...
Update tour script for new table layout and object changes
2023-01-09 07:01:07 +01:00
Chr1Z
1054f398ba
Merge pull request #171 from argonui/inv-data-fix
...
Fix some investigator card data
2023-01-09 06:59:56 +01:00
Chr1Z
7c396e58fc
Merge pull request #167 from argonui/accessories-positions-update
...
Option Panel: Accessories spawn position update
2023-01-09 06:59:24 +01:00
Chr1Z
7c584be26b
Merge pull request #168 from argonui/renaming-table-objects
...
Table object renaming
2023-01-09 06:59:13 +01:00
Chr1Z
23c8b12e1a
Merge pull request #169 from argonui/encounter-set-download-fixing
...
Removing "Extras" and "Investigators" from bottom menu
2023-01-09 06:59:03 +01:00
Buhallin
819223a234
Bump version name for 3.0 release
2023-01-08 16:55:48 -08:00
Buhallin
f130dc5e52
Merge pull request #170 from argonui/discard-bugfix
...
Playmat: Discarding playercards bugfix
2023-01-08 16:48:32 -08:00
Buhallin
6e6d4a9d1e
Update tour script for new table layout and object changes
2023-01-08 16:44:57 -08:00
Buhallin
626c2dfd55
Fix some investigator card data
...
Fixes the IDs for Lily's Disciplines and adds the extra copies of Lola's signatures
2023-01-08 16:35:22 -08:00
Chr1Z93
6551470e94
correct value because table is no longer nameless
2023-01-08 22:48:34 +01:00
Chr1Z93
31e6dbf969
fixing position
2023-01-08 22:25:47 +01:00
Chr1Z93
d7ecbe52de
minor position fixing
2023-01-08 19:44:18 +01:00
Chr1Z93
705b96d707
adding ammo as separate objects
2023-01-08 19:42:45 +01:00
Chr1Z93
40854e43e2
object renaming
2023-01-08 16:07:38 +01:00
Chr1Z93
1bc006ceda
update
2023-01-08 13:02:05 +01:00
Chr1Z93
71dd7aee81
updated spawns and CYOA memory layout
2023-01-08 13:01:48 +01:00
Chr1Z
d2db6a49d9
Merge pull request #157 from argonui/table-layout
...
New table layout
2023-01-08 12:25:59 +01:00
Chr1Z93
2e7f4825c1
more changes
2023-01-08 12:16:45 +01:00
Chr1Z93
e0f2f50218
updated layout
2023-01-08 02:40:28 +01:00
Chr1Z93
cddd513840
removal of luascriptstates for boxes
2023-01-08 02:38:26 +01:00
Chr1Z
1865d7cb69
Merge pull request #166 from argonui/data-fixes
...
Minor data fixes
2023-01-08 00:27:42 +01:00
Buhallin
8ea3747404
Minor data fixes
...
Add Tidal Memento for Wendy's investigator cards, and add doom/bounty uses for Tony's Quarry
2023-01-07 12:53:51 -08:00
Buhallin
84742a9cb4
Merge pull request #165 from argonui/pc-relative
...
Update Unified Player Card panel to use relative positioning
2023-01-06 17:25:25 -08:00
Buhallin
c33d0386b7
Update Unified Player Card panel to use relative positioning
...
Because of the mix of global and relative positioning this ended up being very complex. Tried to make sure the comments were thorough, but open to any improvement suggestions.
2023-01-06 16:20:09 -08:00