|
Allegro.cc
Projects
Resource Directory
|
IOTD: An intense bomb fight by the grates. Pieces of shrapnel from recently exploded bombs are bouncing around the industrial city level.
An intense bomb fight by the grates. Pieces of shrapnel from recently exploded bombs are bouncing around the industrial city level., by gillius
This image is from a game I completed about 3 weeks ago. I did this project with 2 other programmers for a 10 week school project in my 2D Game Programming course I took at my college RIT. The game is not written with Allegro -- it uses DirectX8.1. Direct3D was used as the rendering API and not DirectDraw. No 3D coordinates were used in sending the graphics to the video card -- I used pre-transformed 2D triangles, and the video card draws them. This is how I achieve the 300+ frame per second count on fast machines, however, the particles slow down the game quite a bit. I originally thought the slow down was entirely CPU-based (and this is why crappy video cards ran the game at the same speed as fast ones), but from what I learned later I now believe this may be due to the fact that I was not using hardware vertex buffers, and it is the speed of the AGP bus that is limiting the frame rate as the triangles I am drawing are so primitive even old video cards can draw them faster than I can feed in the verts to the card. For the tile drawing I used the method found in this Gamedev.net article: http://www.gamedev.net/reference/articles/article935.asp. You can find more (non-technical) information on my website http://www.rit.edu/~jpw9607/isobomb/, and you may also download the source code. The game is downloadable with a graphical install wizard (using Inno Setup) so if you just want to play the game it is a very simple install/uninstall. The Gallery | Add your own image! |
Poll
View Results
|