Chapter 23. Writing a .NET Arcade Game Using DirectX

In This Chapter

The User’s Perspective

The Programmer’s Perspective

DirectX Interaction

The Game Class

Sounds and Pictures

Layers

Screens

The Actors

Using the Game Class

E-mail Attack—The Advanced Version

In this chapter, we have some fun and write an arcade game in C# using Microsoft DirectX. DirectX is a technology consisting of low-level APIs for graphics, sound, music, and much more. Because DirectX exposes its functionality through COM objects, we can use it naturally in managed code. Although previous chapters have discussed DirectX, this chapter uses it in the context of a real application.

Tip

At the time of writing, .NET DirectX components have been announced ...

Get .NET and COM: The Complete Interoperability Guide now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.