As promised to a tenacious viewer, here's the Unity project for my weekly stream. It's meant as a sample for how to tackle various issues that might arise if you want to make a custom interactive stream overlay. Some of the stuff it does:
- Renders for full-alpha transparency in OBS (use "Game Capture" in OBS and check the transparency box)
- Takes viewer submissions via a bot
- Handles follow, subscription, and cheer events
- Handles channel point reward events to in-game effect
IMPORTANT: Before you can run this project, you have to make your own "Assets/StreamingAssets/config.ini" file that provides all the Twitch OAuth keys for the bot account and user account that it uses, plus a Twitch API application ID, plus information about who to treat as hosts. Use the config_example.ini file in that directory to guide you.
I'll probably be adding new features for a while to come. There's plenty of janky stuff going on, so imitate at your own peril... but I do suggest you tune in and watch! It's every Tuesday from 8 PM to 11 PM Eastern. My Twitch channel is here, and all the recorded streams are on my YouTube channel here.
- Eric Mann-Hielscher for the countdown music.
- YouFulca for the lightning round music.
- John McDowell for his Wiktionary parsing.
- and finally, to Will: my star, my perfect silence...