Welcome to my "Who's That Pokémon" Twitch widget project. This project contains a simple browser source for the streaming application of your choice, to allow you to play "Who's that Pokémon" with your community on twitch via the text chat, using the points system implemented by Streamelements for the rewards.
Visit Who is that Pokemon - Configurator and follow the steps on the site.
Follow these steps to install this widget locally on your pc for your stream:
- Download the Zip file of this project.
- Extract the files to a folder of your choice (you will need the path for your streaming software).
- Configure the settings in the
script.js
file located in thesrc
folder. - In your streaming software, create a Browser source, check the "Local File" box, and navigate to the project. Select the
index.html
file from thesrc
folder. - Set the Width and Height to 500 x 500 (px).
- Enjoy!
You can find the configuration settings in the script.js
file.
// Settings
let settings = {
autoStart: true,
autoRestart: true,
displayMode: "animated", // "animated" or "original"
autoGiveUp: true,
autoGiveUpTime: 300, // Seconds
randomSpawnTime: true,
randomSpawnTimeMin: 30, // Seconds
randomSpawnTimeMax: 150, // Seconds
min: 1,
max: 898,
channel: "", // Add your channel here
botuser: "", // Add your Bot Username here
token: "", // Add your Bot Token here, from http://twitchapps.com/tmi/
pointReward: true,
pointRewardCommand: "!addpoints",
pointRewardAmount: 100, // Points
};