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.
|Get Started with MEDKit
|Introduction to MEDKit and the Muxy SDK.
|Build a Simple Extension
|Basic Muxy Login Workflow
|How your broadcaster logs in to connect to the Muxy server.
|Install SDK Manually
|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.
|Set up User Simulation
|Simulate users with different user roles for debugging in the development environment.
|Store State Values
|How to define, store, and retrieve real-time extension and viewer state values.
|Store Configuration Data
|How to define, store, and retrieve extension-configuration values.
|Store Arbitrary State
|How to define, store, and retrieve any kind of state data.
|Get Viewer Information
|How to retrieve information about your extension viewers.
|Call into the Twitch API
|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.
|Viewer Data Aggregation
|Introduces techniques and tools for scaling up by aggregating data from many viewers.
Code examples demonstrate Accumulating User Data and Ranking User Data.
|Viewer Engagement Tools
|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.
Muxy's GameLink SDK is written in C++ and can be integrated into Unreal. See the Github repo for more information.
For an existing game that uses the Unity engine, add a Muxy-powered experience by installing the C# MEDKit SDK.
|Unity GameLink Tutorial
|This tutorial walks through building a small Unity scene that does GameLink authentication and reacts to a viewer poll.
Updated 9 months ago