This repo contains game development samples written by the Microsoft Xbox Advanced Technology Group using the Microsoft Game Development Kit (GDK).
- Kits contains support code used by the samples
- Media contains media files used by the samples
- Samples contains samples
- Visual Studio 2019 (16.9 update or later) or Visual Studio 2022
- Microsoft Game Development Kit (GDK)
- -or- Microsoft Game Development Kit with Xbox Extensions (GDKX)
To open most samples, open the Visual Studio .sln
file included in the sample's directory.
For Unity samples, use Unity Hub's '+ New project' option and select the Unity sample's directory that contains the Assets
directory.
Each sample has a readme markdown file which provides directions on how to run it and other important information.
When compiling and running a sample, the file name of the sample executable will be sent to Microsoft to help track sample usage. To opt-out of this data collection, you can remove the block of code in Main.cpp
labeled Sample Usage Telemetry.
For more information about Microsoft's privacy policies in general, see the Microsoft Privacy Statement.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.
This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.
For more ATG samples, see DirectML Samples, PlayFab-Samples, Xbox-ATG-Samples, and Xbox-LIVE-Samples.