Learn VB .NET Through Game Programming [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Learn VB .NET Through Game Programming [Electronic resources] - نسخه متنی

Matthew Tagliaferri

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
توضیحات
افزودن یادداشت جدید





Installing DirectX 9


A version of DirectX is installed with every version of Windows, but the erstwhile developer needs the DirectX software development kit (SDK) to program to the DirectX libraries. You can find the SDK at [http://www.microsoft.com/windows/directx/default.aspx]. After downloading and installing it, you’ll find a DXSDK folder on your C: drive packed full o’ DirectX goodness. The huge help file might be the first thing you want to peruse, or you can dig right into the sample programs, which are available in Visual Basic .NET, C#, or C++.





Note

DirectX 9 is a large enough API that one could write an entire book about the library. In fact, someone has. Check out .NET Game Programming with DirectX 9.0 by Alexandre Santos Lobao and Ellen Hatton (Apress, 2003).


This chapter focuses on one aspect of DirectX, known as DirectDraw. This functionality creates fast bitmap graphics, which is what needs to improve in the old games. In this chapter, you’ll learn about DirectDraw through two example programs. The first is a “do-one-thing” program that simply introduces the concepts and renders a bunch of graphics to the screen to prove the speed of the DirectX library. The second program puts the concepts together to create the bulk of an arcade game.

/ 106