- Learning Windows 8 Game Development
- Michael Quandt
- 177字
- 2021-07-23 15:36:05
Installing DirectXTK
We will use NuGet, a development package manager that comes with Visual Studio 2012 to install DirectXTK. Before this can happen, we need to ensure it is up-to-date using the Extensions and Updates dialog, found in the Tools menu. (Select Updates on the left side of the dialog.) Once it is up-to-date, we can use NuGet to install C++ packages. Right-click on your game project in Visual Studio and choose Manage NuGet packages. This will bring up the management dialog, where we can search for new packages. Search for DirectXTK
and install the DirectX Tool Kit when it appears.
Once it finishes downloading, it will integrate with your project, allowing you to include any of the header files using the #include <file.h>
directive.
If you want further information about the toolkit, visit http://directxtk.codeplex.com, which will let you access the source code as well as the feature list for the library. For this project we will only be using the following types:
SpriteBatch
SpriteFont
Most of the other features relate to 3D games and can be ignored.
- EDA技術(shù)與VHDL編程
- 智能網(wǎng)聯(lián)汽車V2X與智能網(wǎng)聯(lián)設(shè)施I2X
- SD-WAN架構(gòu)與技術(shù)(第2版)
- 局域網(wǎng)組建、管理與維護(hù)項(xiàng)目教程(Windows Server 2003)
- 無人機(jī)通信
- 物聯(lián)網(wǎng)時(shí)代
- SSL VPN : Understanding, evaluating and planning secure, web/based remote access
- 世界互聯(lián)網(wǎng)發(fā)展報(bào)告·2019
- 物聯(lián)網(wǎng)之霧:基于霧計(jì)算的智能硬件快速反應(yīng)與安全控制
- CCNP TSHOOT(642-832)認(rèn)證考試指南
- Bonita Open Solution 5.x Essentials
- 6G:面向2030年的移動通信
- 大型企業(yè)微服務(wù)架構(gòu)實(shí)踐與運(yùn)營
- RestKit for iOS
- Hands-On Reactive Programming in Spring 5