gpstar81 / GPStar-proton-pack

GPStar Proton Pack and Neutrona Wand
https://www.gpstartechnologies.com
GNU General Public License v3.0
37 stars 8 forks source link

Add lockout anim, bugfixes #281

Closed nomakewan closed 4 months ago

nomakewan commented 4 months ago

This PR makes the following changes:

-Adds "sparking" animation to barrel tip when the wand firing lockout triggers to imitate behavior in Afterlife -Fixes firing loop in 1989 mode on Proton Pack -Fixes firing sounds causing missing sounds if Intensify is pressed too rapidly -Fixes glitchy wand tip heatup animation when switching from a weapon mode to Settings mode -Fixes hat light 2 being stuck on in 1984/1989 mode after wand lockout completes -Fixes incorect wand tip and sound behavior when switching firing modes to venting or settings -Fixes serial data not working if debug macro is enabled -Fixes some lockout-related sound effects playing even if wand is fully powered down -Improves readability of PROGMEM_READ calls in Proton Pack code -Reduces lockout limit back to 4 presses in 2 seconds due to performance issues with WAV Trigger -Reduces number of stopEffect calls on wand to improve audio serial data handling during high load periods -Removes errant metadata from two sound files -Removes light and bargraph blinking from lockout to improve performance and more closely imitate Afterlife -Shortens button mash lockout duration in higher power levels