Do you like to blow stuff up?

Started by
8 comments, last by Mr Bakbugawk 21 years, 7 months ago
Today I finished the first version of my 2D graphics engine. So to celebrate, I am posting a little demo. Basically you just fly around and blow the other ships up, who could ask for more!? The controls are W, A, S, D to move, space to fire. B creates more enemys to blast. Get it here: kahuna.clayton.edu/~jbrooks/thing.zip and let me know how it goes! [Edit] Oh, it uses DirectDraw so you will need DirectX. [edited by - Mr Bakbugawk on September 4, 2002 4:39:59 PM]
bugawk?
Advertisement
The link doesn''t seem to work.
Hmm, odd. I just had a couple people test it and it is working. Any suggestions?
Nevermind, it works now. Maybe the server was just overloaded (I tried to download several times, each time it took about 60 seconds before it timed out trying to connect).
Assuming the number at the top left is the framerate I get 170. Its nice, though the fact that you don''t rotate is very odd.
The number at the top left is the FPS, guess I should have put some labels up there. Ah well, from left to right those numbers are: FPS, X world coord, Y world coord, number of sprites in the display list, and number of bullets being tracked (you''ll notice some odd behavior with those). About the rotation thing, when I made the graphics for testing the sprite animation I just had the ships banking left and right, which is what they still do. I was originally going for a Galaga type scroller where you are always moving forward. In this test world where you can move horizontally and vertically it does seem kinda weird not to rotate.
bugawk?
My framerate is around 300, though that drops to about 120 when I hit ''B'' constantly.
My gripe is that my ship keeps being destroyed by some invisible force. I don''t see the enemy ships shooting, but I die nevertheless.
Win2k, P3 600Mhz, Voodoo3 card
I was looking through the code and realized I left in a phantom keypress, the ''X'' key, which destroys your ship. I suspect you may be accidently pressing it as it is so close to the movement keys. Pressing ''R'' will resurrect the ship. Otherwise, there is nothing that causes damage to the player ship, and the enemies do not shoot at you. Sorry about that, I just completely forgot it was in there. Well, on to adding sound functions and maybe try to make a game with this thing.
bugawk?

EDIT: Sorry 'bout the image...sometimes it works, sometimes it doesn't.

[edited by - zealouselixir on September 5, 2002 10:24:50 PM]

[twitter]warrenm[/twitter]

Heh, ZE THAT''s what I''m talkin ''bout.
bugawk?

This topic is closed to new replies.

Advertisement