/Bit-Boss-Battles

Bit Boss Battles (BBB) is a viewer interactive bits widget for the Twitch platform. Streamers using BBB enable their viewers to fight each other using bits to become the next Bit Boss.

Primary LanguageJavaScriptGNU General Public License v3.0GPL-3.0

Bit Boss Battles

v1.3.0.3: Release

This software is provided "as-is" with no warranties.

Presented under the GPL v3 license.

Creation and/or publication of media (images, videos, etc.) while using this software is authorized.

Created by: Nifty255

Copyright 2017 All rights reserved.

This software is in RELEASE condition. However, bugs can still happen. If you have a bug, or a suggestion, please leave it in a mature manner.

FEATURES:

Bit Boss Battles (BBB) is a viewer interactive bits widget for the Twitch platform. Streamers using BBB enable their viewers to fight each other using bits to become the next Bit Boss.

  • Easy to use web-based interface.
  • Smooth graphical widget with animations.
  • Able to use as a browser source in OBS or any other streaming software.
  • Demo mode available to test the widget without requiring bits.
  • Enable or disable sounds, Transparent Mode, Chroma Mode, or Persistence Mode.
  • Use constant HP, or allow a viewer's "overkill" bits to determine their health.

Bit Boss Battles requires authorization in order to listen for bits notifications from the Twitch API. BBB requires the "User Read" permission in order to obtain the streamer's user ID (public information) from the token it receives from authorization. Once authorized, BBB stores the token only as a cookie on your browser. BBB's servers DO NOT store ANY personal information about you or your Twitch account.

CHANGELOG:


1.3:

v1.3.0.3:

  • Fixed "My Bit Boss has been reset" script to use numbers and not strings.

v1.3.0.2:

  • Added a second analytics metric for usage tracking.
  • Changed how Persistence handles cookie saving. Fixes #22 issue.

v1.3.0.1:

  • Added Help Topic for subs/resubs that fail to damage/heal.

v1.3.0:

  • Subscriptions can now optionally damage/heal the Bit Boss if enabled.
  • Resubs can deal additional damage/healing based on a multiplier.
  • Including subs/resubs requires additional Twitch permissions.

1.2:

v1.2.3.1:

  • Fixed Settings Page not preselecting Strength Mode when it's saved.

v1.2.3:

  • Added Strength Mode. Closes #4 feature request.
  • Strength Mode sets a new Boss's HP to the final blow's bits amount.

v1.2.2.2:

  • Fixed donations under certain names breaking the widget.

v1.2.2.1:

  • Fixed explosion sound not playing in the Demo Widget.

v1.2.2:

  • Added volume controls. Closes #11 feature request.
  • Volume is adjusted on the Settings page, visible when sound is enabled.

v1.2.1:

  • Improved README file to better organize information.
  • Added Changelog page which displays the Changelog portion of the README.

v1.2.0.9:

  • Replaced all 4-space whitespace with 4-size tabs.

v1.2.0.8:

  • Added robots.txt and robots meta tags.

v1.2.0.7:

  • Fixes #18 issue with OBS Classic halting the widget on start.

v1.2.0.6:

  • Fixed clearAllCookies not clearing all cookies.

v1.2.0.5:

  • On start or donation, non-Twitch usernames are now accepted as Bosses.

v1.2.0.4:

  • Fixed Launcher using SL access token instead of refresh for the URL.

v1.2.0.3:

  • Fixed socket.js connect error using undefined variables.

v1.2.0.2:

  • The widget should now display all unexpected errors.

v1.2.0.1:

  • Changed Hard Reset link to use https.

v1.2.0:

  • Added donations/tips support through Streamlabs.
  • Donations are at a $0.01 to 1 bit scale.
  • Donations are indicated with a $ image instead of a bit image.
  • The donation feature can be disabled by clearing authorization.

1.1:

v1.1.4.9:

  • Fixed issue with "Bit Boss Reset" help not lower-casing usernames.

v1.1.4.8:

  • The Stream Source widget now requires https, indicating if not.

v1.1.4.7:

  • The app now redirects http requests to https.

v1.1.4.6:

  • Changed auth.html to authtwitch.html for future clarity.
  • Fixed authtwitch.html not saving cookies the new way.
  • Fixed broken cookie save in app.js.

v1.1.4.5:

  • Added lastAcess to database schema so it will save now.

v1.1.4.4:

  • Updated jQuery from 1.11.1 to 3.1.1.

v1.1.4.3:

  • The launcher now saves the auth cookie as secure.

v1.1.4.2:

  • Refactored cookies.js to allow for secure cookies.

v1.1.4.1:

  • Updated .gitignore to ignore SSL certificate files.

v1.1.4:

  • Analytics now records the latest time the widget has started.

v1.1.3.2:

  • Reworded settings note about applying changes to an open widget.

v1.1.3.1:

  • Fixed empty but not null URL parameters halting widget operation.
  • Empty but not null URL parameters now throw an error.

v1.1.3:

  • Added Help Page.
  • Added topic to Help Page: "My Bit Boss has reset!"

v1.1.2.3:

  • The router now redirects from the Heroku subdomain to the new domain.

v1.1.2.2:

  • The router now accepts user IDs up to 9 digits. Closes #16 issue.

v1.1.2.1:

  • Fixed text color to being overwritten by front health bar color.
  • Fixed the router always saving settings even when overwrite is false.

v1.1.2:

  • Removed About page.
  • Moved GitHub and Patreon links to Main page.
  • Added Twitter link to the Main page.

v1.1.1.1:

  • The Reset button on the launcher page has been replaced with a link.
  • The new Reset link can be used to clear ALL cookies in any browser.
  • The Reset page includes instructions on how to finish a hard reset.

v1.1.1:

  • Streamers can now customize widget colors:
    • Background (Default: Dark Gray)
    • Health Background (Default: Red)
    • Health Hit Delay (Default: Orange)
    • Health Main Bar (Default: Green)
    • Text Color (Default: White)
  • A reset button is available to revert to defaults.

v1.1.0.2:

  • BBB now sends partner status to the server for analyitics purposes.

v1.1.0.1:

  • Settings save now checks for a valid user ID.
  • Settings save now uses the default setting if a setting was invalid.
  • The widget now uses default settings if none were found in the database.

v1.1.0:

  • Settings are now stored in a database, associated with Twitch user ID's.
  • Saving settings to database allows the Stream Source URL to be shorter.
  • The Stream Source Widget requests the streamer's settings on load.
  • The Launched Widget still uses cookies to save bandwidth.

1.0:

v1.0.7.1:

  • Fixes #13 issue caused by changes in the Twitch API (8 Mar 17).

v1.0.7:

  • Added Hidden Avatar setting.
  • Bit Boss Battles can now be stretched to any width. Min 350px recommended.

v1.0.6.2:

  • Fixed delayed (yellow) health bar using a pixel width at first.

v1.0.6.1:

  • More robust Name Scroll reset. Prevents an issue which breaks name scrolling.

v1.0.6:

  • Added Progressive HP mode. Closes #7 enhancement.
    • The first Bit Boss starts with an initial HP amount.
    • Each successive Bit Boss has a progressively incremented HP amount.
  • Changing HP modes now resets the current boss and their HP.
  • Settings descriptions now appear when the associated setting is moused over.

v1.0.5.7:

  • Added full comments to BBB's app code.

v1.0.5.6:

  • Fixed #9 issue: reloading BBB with non-default max HP results in using default max HP.

v1.0.5.5:

  • Fixed hit delay bar reaching 100% after load with < 100% health.

v1.0.5.4:

  • Added Patreon link to the About Page.

v1.0.5.3:

  • Updated README version.

v1.0.5.2:

  • Updated README. Now includes information about the data BBB uses.

v1.0.5.1:

  • Minor About Page fix.

v1.0.5:

  • Added option to allow current Bit Boss to heal him/herself.
  • The current Bit Boss cannot increase max health, only heal.
  • Healing has its own animated gif which plays over the avatar.
  • Damange and healing together will only show whichever is greater.
  • Small Settings Page improvements.

v1.0.4:

  • Added option to modify Overkill Mode's initial HP.

v1.0.3.1:

  • Fixed Persistent Mode not affecting the launched widget.

v1.0.3:

  • Separated the Main Page into Home, Launcher, Settings, and About.
  • Separated the index script into two, Launcher and Settings.
  • Added tab navigation for the new pages.
  • Settings changes no longer automatically propagate to the widget.

v1.0.2:

  • Fixed bug which broke Persistent Mode.

v1.0.1.2:

  • Fixed Client ID header.

v1.0.1.1:

  • Landing Page improvements.

v1.0.1:

  • The index page now properly remembers the "HP Type" cookie.

v1.0:

  • INITIAL RELEASE