Code Samples open in a
new window.
Entity Class
Main Game
Loop
|
Description:
Apache is a 2D multiplayer game programmed using C# and
Managed Direct X. The game was designed and implemented
by a team of two. On the project I worked mainly with sprite
animation, sounds, user input, and GUI programming. Both
players attempt to shoot the other out of the sky while
dodging opposing attacks. Apache was one of my earlier projects.
GUI - I designed and programmed the individual
pieces of the GUI including: the health bars, the help Screen,
and the winner screens. The health bars were adjusted
using a sprite sheet which was incrimented everytime damge
was taken. At the time I drew the help and status screens
out of the game window, the moved them in when certain conditions
were met. For a future modification I plan to adjust these
and only have them render when conditions are met rather
than move them out of the game window.
User Input - Designed
the code to test for user input using directX libraries.
Set up initial control system for the helicopter. Control
system was later re-designed and tweaked by both members
of the project.
Audio - Set up the audio system using DirectX
libraries.
Game Logic - Designed and implemented portions
of game logic such as: damage, victory conditions, etc.
Sprite Class Contributions - Made required
changes to the Sprite class which was initially designed
by my teammate Jasen Moloy. These changes included: limiting
player movement to viewable screen area. Modified animated
sprite function allowing for animations to run once or be
looped. This was actually achived by adding an aditional
function to the current class. Limited the speed at which
the helicopter can move, to accomplish this I simply limited
the maximum length of the vectors the helicopters used for
movement.
Project Team:
Sean Carrica (Programmer)
Jasen Moloy (Programmer) |