Skip to content

Starting a Session & Testing

Now that we have added our first effect, let’s trigger it in real time to ensure it was created properly.

Click on the Crowd Control Manager Prefab and look in the inspector. Make sure the Game ID is UnityDemo. Then click on the play button in the Unity Editor to begin.

Alt

You will see an overlay that says "Disconnected from Crowd Control". Click on the Connect button.

Alt

The first time you will try to connect to Crowd Control with this game ID, it will ask you to login to either Twitch, Youtube or Discord.

Alt

For this example, we'll be using Twitch. Click on the Twitch button, make sure you are logged in and you give Twitch the appropriate permissions if asked.

Alt

If your login and permissions are successful, the Crowd Control session will begin!

Alt

After you successfully connect for the first time, you will not need to login for 90 days. Starting the game and clicking "Connect" will be all you need to start the Crowd Control session. If you'd like to logout, click the "Clear all Tokens" button in the Crowd Control's inspector and relaunch the game.

Now that we began our session, click on the "Online Effect Menu" button, which will take you to your game session's effect menu.

Alt

If everything is correct, you should see your game and the "Force Jump" effect you created in the last session, along with additional effects that we will implement later on.

Alt

Click on the effect and click "Order". You should see your character jump. If an error is thrown or your character doesn't jump, please refer back to the previous section and ensure all steps were completed.

Congratulations! You've created a working effect. If somebody streams this game on Twitch and connects to Crowd Control, the audience will now be able to make the player automatically jump if they have enough coins to spend on it.