Unity: adding Twitch integration to your game
Interested in becoming a Medium member? If you sign up with my referral link, I’ll receive a portion of your membership fees!
I’ve been working on Feisty Fauna, a casual roguelite where you’re a cute animal trying to survive. The game is inspired by Ragnarok Online and Maple Story for adorable creatures, World of Warcraft for boss fights, and Vampire Survivors for the roguelite gameplay. The demo is available on Steam, and the game is under active development.
One of the game features that I’ve been working on recently is Twitch integration. More specifically, when streamers play Feisty Fauna, their viewers will be able to participate and interact with the game! I searched online for tutorials on how to do the Twitch integration, and while articles do exist, there were some gaps that I had to figure out. Hence, I decided to write this article to share the steps I took, as well as offer the sample code (and Unity project) for others to refer to!
In this tutorial, we will be setting up a Twitch application and creating a Unity project that connects to…