Here in our Quick Start guides you'll find examples to help you understand the basics of working with our tools to create fully interactive, engaging Twitch Extensions.
Whether you are a game developer, an extension writer, or a streamer, you can use Muxy-enabled extensions to improve the gaming and viewing experience, promote viewer engagement with interaction and rewards, and monetize your audience.
If you have an existing Twitch Extension, you can use these steps to register it with Muxy to add functionality and use Muxy services.
If you don't already have one, create a new Twitch Extension in the Twitch Developer Console.
In the Twitch Developer Console, look at the Extension Settings and copy the Extension Client ID and Extension Secret. You will use these to register the extension with Muxy.
Go to the Muxy Developer Portal and click Register New Extension.
Fill in the Extension Name, Client ID, and Secret.
Keep the Client ID
Store your Client ID where you can find it again-- you will also use it to initialize the MEDKit SDK each time the extension starts up.
Once you have registered your extension, your Twitch Extension Client ID also serves as your Muxy Client ID. Every call into the Muxy SDK is authorized by this
If you use the Unreal Engine or Unity game-development environment, add a Muxy-powered experience using integrated Muxy functionality.
Muxy Architecture for Extension Writers and Streamers
If you are creating extensions from the ground up, the following guides will help you to get familiar with the form and structure of a Muxy-powered extension.
Introduction to MEDKit and the Muxy SDK.
How your broadcaster logs in to connect to the Muxy server.
Install and configure MEDKit from a command shell, using npm, node.js, and webpack.
Learn the basics of developing extensions that take full advantage of Muxy functionality.
Simulate users with different user rolesuser roles - The role of the caller controls access to functionality. for debugging in the development environment.
How to define, store, and retrieve real-time extension and viewer statestate - You can define and store your own extension state data. State is tracked in real time. values.
How to define, store, and retrieve extension-configuration values.
How to define, store, and retrieve any kind of state data.
How to retrieve information about your extension viewers.
How to make use of Twitch features in an extension.
Some hints and tips for avoiding common problems.
These guides provide example code and advice for taking advantage of Muxy functionality in your extensions.
Introduces techniques and tools for scaling up by aggregating data from many viewers.
Tools for creating activities and events that encourage viewer interaction.
Code examples demonstrate how to set up and manage Polls and User Voting.
Muxy functionality is integrated into Unreal Engine through a Muxy Plugin, and with Unity through a C# MEDKit SDK.
These guides help you install the integration tools, and get you started with initialization and implementing functionality.
For an existing game that uses the Unreal engine, add a Muxy-powered experience by installing the GameLink Unreal Plugin.
For an existing game that uses the Unity engine, add a Muxy-powered experience by installing the C# MEDKit SDK.
This tutorial walks through building a small Unity scene that does GameLink authentication and reacts to a viewer poll.
Updated 4 months ago