-
Notifications
You must be signed in to change notification settings - Fork 25
Getting started on Xbox
- To get the SDK and sample, clone this repo.
- Open the Mixer menu and select Interactive Studio.
- Create a new project and name it "HelloWorld". Then click Save.

- Click the Build tab at the top of the Interactive Studio Editor as shown in the screenshot below:

- Add a new control. Make sure the control type is set to button (this is the default). Name the button "GiveHealth". This is the string is referenced in the game code.

- Drop the button on the grid.
- Click Save.
- Go to the Code tab at the top of the Interactive Studio Editor.
- Copy the Project Version ID to your clipboard.
- Go back to the Code tab at the top of the Interactive Studio Editor and click on the go to Developer Lab link.

- In Developer Lab, click on the Manage OAuth button to go to the OAuth Clients page.
- On the OAuth Clients page, create a new OAuth client with the following information:
- Name: MyOAuthClient
- Website: http://mixer.com
- Hosts: *.mixer.com
- Copy the OAuth Client ID of the newly created client.
- Go to the root of this repro under \Samples\InteractiveXboxSample and open InteractiveXboxSample.sln.
- Open the file Game.cpp.
- On line 367, change INTERACTIVE_ID to your Project Version ID from step #2. The Project Version is what links the SDK to your Interactive Studio project.
#define INTERACTIVE_ID "<your client id>"
- In Visual Studio, right click on the project.
- In the project properties, under Configuration Properties > Xbox One, ensure your console IP address is specified in the Remote IP Address field.
- Make sure you are in the XDKS.1 sandbox and have a user signed in.
- Press F5 to run the sample.
Follow the Connecting to Interactive guide.
If you are shipping an Xbox One game, we encourage you to take the following steps.
If you want to share a build of your game with others. For example, you want to give a demo of your Mixer integration to a publisher, we recommend using share codes. Learn how to use share codes here
If you are shipping your game on Xbox One and want to test your Mixer integration without others seeing your game, you can use the test streams feature. To get access to Test Streams, send an email with to mixerdevinfo@microsoft.com with the following information:
- Your Xbox Live sandbox
- The mixer channel names of the accounts you will be broadcasting from
Once you have access, you can read more about the feature here.
If you are shipping a game for Xbox One and doing Mixer, we strongly encourage you to read the Mixer and Xbox Live article. It covers common questions developers run into when trying to develop Mixer integration for an Xbox One game.