231 Commits

Author SHA1 Message Date
53c94e7a7e Update pan-zoom node package 2025-06-16 22:41:34 -07:00
a031ad68a5 Remove debug comments from gameboard.js 2025-06-16 22:41:34 -07:00
381beca3d5 Add more weapons 2025-06-16 22:41:34 -07:00
0f4b3a5a53 Refactor record_sheet.js 2025-06-16 22:41:34 -07:00
686b21e893 Remove random props on map resource window object 2025-06-16 22:41:34 -07:00
e6c4d7647c Fix squad reveal/select bug 2025-06-16 22:41:34 -07:00
5eb60c0832 Change elevation level when revealing counter on map 2025-06-16 22:41:34 -07:00
d393f23e36 Extract programmatic pan coord calculations into gameboard module 2025-06-16 22:41:34 -07:00
0af6380fee Add toggle for auto map-centering 2025-06-16 22:41:34 -07:00
06bff39f01 Add additional params to observable calls; reveal counter and record logic on selections 2025-06-16 22:41:34 -07:00
5ee42370e9 DEBUG: map-center crosshair 2025-06-16 22:41:33 -07:00
a85a2d6575 WIP: auto-pan map to selected counter 2025-06-16 22:41:33 -07:00
6fb29a6246 Style grenade indicators without svg 2025-06-16 22:41:33 -07:00
a78249d611 Clean up armor assign code 2025-06-16 22:41:33 -07:00
065ef1ef5e Improve armor assign 2025-06-16 22:41:33 -07:00
c2aaaeb4ec Extract reveal record logic into a function 2025-06-16 22:41:33 -07:00
e79922c6fb Extract armor setup into function 2025-06-16 22:41:33 -07:00
93a88e067f Extract record deactivation event handler function 2025-06-16 22:41:33 -07:00
75e0b7758e WIP: very rough armor 2025-06-16 22:41:33 -07:00
56bbbd9361 Don't throw error when no squads to view 2025-06-16 22:41:33 -07:00
60da021f13 WIP: view squad record sheets 2025-06-16 22:41:33 -07:00
e3de50ceef WIP: smoothe squad view 2025-06-16 22:41:33 -07:00
fa483cc76f Add weapon counters for new weapons 2025-06-16 22:41:33 -07:00
31061628ad Add weapons for scenario 2 2025-06-16 22:41:33 -07:00
d886028a76 Deselect when view changes to another squad 2025-06-16 22:41:33 -07:00
97af8d3e86 Fix firing arcs for squads 2025-06-16 22:41:33 -07:00
81851d0bde Clean up 2025-06-16 22:41:33 -07:00
b7c6cc8936 Get mech template placement working again 2025-06-16 22:41:33 -07:00
76eb662bcd Get sight line working again 2025-06-16 22:41:33 -07:00
2499b8c268 Wire clear-hex dialog back up 2025-06-16 22:41:33 -07:00
e4d88c3ebe Use pointerovers for setup/teardown; don't rely on pointerouts 2025-06-16 22:41:33 -07:00
67602d664e WIP: trying just using pointerovers 2025-06-16 22:41:33 -07:00
53d6c6742a Ok, hover and firing arc doesn't get stuck at all
Not sure about counters
2025-06-16 22:41:33 -07:00
e0bddbb263 Add ability to deactivate/reactivate soldier records; make hex clearing work with right-click and add a confirmation modal dialog 2025-06-16 22:41:33 -07:00
264dd1ab3f Add clear hex contents dialog 2025-06-16 22:41:33 -07:00
f48928a3d4 Add some team color counters 2025-06-16 22:41:33 -07:00
337da46305 Remove prone toggle 2025-06-16 22:41:33 -07:00
0fa99dd283 Place trooper counter under other counters 2025-06-16 22:41:33 -07:00
05e74bc33e Handle clicks in grid-top cell 2025-06-16 22:41:33 -07:00
07af5d6ea7 Clear hover on pointerout? 2025-06-16 22:41:33 -07:00
10558ce915 Fix arrangeCounters 2025-06-16 22:41:33 -07:00
b8fc681e53 WIP: solution to bringing active element to top? 2025-06-16 22:41:33 -07:00
08cdbe0565 Fix distance calculation 2025-06-16 22:41:33 -07:00
b9aa686528 Capture pan-zoom pointer sooner 2025-06-16 22:41:33 -07:00
f1084b826b Clean up some counters code 2025-06-16 22:41:33 -07:00
edb5af99c7 WIP: add multiple counters to troopers and cells 2025-06-16 22:41:33 -07:00
6f292102e4 WIP: counters 2025-06-16 22:41:33 -07:00
de74246a9c WIP: arrange elements in a circle 2025-06-16 22:41:33 -07:00
dfda05dc3a WIP: add fallen mech and vehicle templates 2025-06-16 22:41:32 -07:00
3887c64ff9 WIP: Turn/torso-twist mech template on keypress 2025-06-16 22:41:32 -07:00