Riot Overlay | Twitch
About
So here is my first game ever : a "moving debate" to use as an overlay on your Twitch streams, and that your viewers can play via the chat to position themselves on different areas (and therefore different opinions), being able to change at any moment. The point is to discuss anything and see how opinions change during the debates.
You can :
- set 2 to 5 zones, placed anywhere to match your scenes
- change the zone labels
- see viewers as dots or random characters
- call everyone back to the first zone before launchiong a new debate
I've tested it with up to 2K fake viewers before seeing a lag (on an old machine), and it has been tested live thanks to Gaymerick on Twitch (with few viewers).
Feel free to give me feedback, I'll try my best to fix things I can. Depending on interest, I might add other features ("riot" is supposed to mean something at some point, but i didn't get to this stage for the moment).
How to use
It is best if you create a bot account on Twitch, and give it moderation permissions on your channel. You'll also need to get its token from this page (with your bot account connected on twitch) : https://twitchapps.com/tmi .
Use your bot's name and its 0auth key on the Connection Panel.
Also check "Bot connection" and set your username as your channel.
Your bot will appear in your chat, where you can test interactions (joining and changing zone) without live streaming by accessing your chat : http://twitch.tv/your_user_name/chat .
Then go to the Options Panel where you can test things by adding bot (with A key) and make them move randomly if you want so, or chose your display settings and the number of zones you want to use. These can be changed at any time.
Finally, you can click on a zone's name to change it, and move any zone by grabbing its number (characters will follow shortly after you moved the zone).
What viewers have to do
From the moment you connected your bot, they'll have to type !join command to get their avatar inside the game (they'll got to "Neutral" Zone), then !1 , !2, and so on, to move their avatar to the according zone.
An avatar will quit the game a few moments after his viewer leaves your stream or with !quit command.
Crédits
Big thanks to Solocode for his great discord server and ressources, Mr.Eliptik for his stream overlay on which i based this work, Fleurman for his tiny characters spritesheets, and the Godot Engine's contributors !