O'Reilly logo

.NET and COM: The Complete Interoperability Guide by Adam Nathan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required