XFiles: DirectX Shooting Game

Category:
Multimedia/Games
Type:
Snippets
Difficulty:
Intermediate
Author:
Simon Price

Version Compatibility: Visual Basic 6

More information:
This is a game I made quickly, mainly because I downloaded the X-files theme tune and I felt that I needed to find a use for it. .However, if you are new to DirectX, I think that you will find the code very useful as it demonstates the basics of DirectDraw and some really basic DirectMusic. If you are not new to DirectX the code is still interesting because it uses the Sine function to make UFO's fly in wavy line and it also demonstrates a cool lightning effect from the lone cloud which you are supposed to dodge. The aim of the game is to shoot the UFOs.

THIS GAME REQUIRES DIRECTX 7, which you if you don't have, you can download at http://www.microsoft.com/downloads/release.asp?ReleaseID=16819


Instructions: Click the link below to download the code. Select 'Save' from the IE popup dialog. Once downloaded, open the .zip file from your local drive using WinZip or a comparable program to view the contents.

Download xfiles.zip