If you're about the working I was doing on today's stream you can check out the project here:
Also see all the factoring and implementation details here:
Reverse gravity by talk2MeGooseman · Pull Request #99 · talk2MeGooseman/twitch-interactive-overlay
Doing the refactoring of logic to the BaseSprite class allowed me to delete a lot of common code especially around managing the timer events. I also took the opportunity to refactor the Coins/Gems classes since they all shared the same logic. Now
BaseSprite and the
Coin since they are just
Coins with higher value and different key but same interactions.
I love being to do all of this refactoring because its slowly removing over engineered parts of the code and pulling together common code across the Sprites.
!reverse_gravity is a thing!
None, met our goals for the stream today :)