ECE 291 Final Project


ATTACK!





Russian Air Strike


Programmers:
Project Members: Craig Poirier, Vladimir Peck

Introduction:
The point of the game is to invade the United States and drop off Boris Yeltsin at the White House. The game will be similar to 1942, in which an airplane will fly up a scrolling backgound. Our game will involve a helicopter moving up a scrolling background. The object of the game will be to destroy enemy helicopters. We will use animation, scrolling background, vga graphics, midi sound, and digital sound effects. The game will keep track of scoring. The main goal of the project is to get a scrolling foreground that works with a scroling background that works functioning score and music.



Problem Description:
The biggest challenge our group faces is the foreground. The foreground needs to keep track of all the enemy helicopters, your helicopter, and friendly and enemy gunfire. The foreground must see if collision occurs between any of these objects and must also keep track of the gun fire for each plane. The Scrolling background is also something new to us which will take time to implement. Sound of course will be a challenge since we are trying to have midi throughout the game and digital sound effects for the gunfire and explosions in the game.



Implementation:
The game is implemented with a vertically scrolling background. Three Segments are used for minipulating the backgrounds since the program can used an unlimitted number of background PCXs. Foreground, score, music, and sound also have there own segments loaded with their respective data. All keyboard commands will be controled by setting the certain variables to one or zero depending on if the key is pressed or not. Score and lives will be stored in an array. In addition to just showing the score, the score can be incremented correctly by using Scorearray. Then, Scorearray is used to access the correct offsets of the score graphics. The same procedure is used in the menu screen for the choice button. Midi is implemented with midpak, and sound effects with digpak. The hardest part, the foreground, is implemented with an array that maps the positions of the 320*200 screen occupied by a helicopter or gun fire.
ScreenShots

Procedures:

Borrowed Procedures: We did NOT code these but used them in our prject.