Skip to Content
.NET and COM: The Complete Interoperability Guide
book

.NET and COM: The Complete Interoperability Guide

by Adam Nathan
January 2002
Intermediate to advanced
1608 pages
38h 34m
English
Sams
Content preview from .NET and COM: The Complete Interoperability Guide

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

.NET and COM Interoperability Handbook, The

.NET and COM Interoperability Handbook, The

Alan Gordon
COM Programming with Microsoft® .NET

COM Programming with Microsoft® .NET

John Paul Mueller, Julian Templeman

Publisher Resources

ISBN: 9780672333583Purchase book