C++ 2D Shooter project (Htbaa's Worklog)

Build on C++ with SDL and KrasEngine! RSS Feed
Worklogs > Htbaa's Worklogs > C++ 2D Shooter project > 2dsupershoot 0.3.1 demo

2dsupershoot 0.3.1 demo

Hoorah! After finished milestone number 3, some tweaking and a few bug fixes I can present you the latest build of 2dsupershoot! The demo level contains all enemies that are there (although enemy number 4 and 5 only show up a few times) and it contains the most important power ups: Homing missiles and the smart bomb.

More importantly this is the first release that uses OpenGL for rendering. I'm really curious about what kind of framerates you get. In my experience the framerate doesn't increase with integrated graphics cards. But with a normal graphics card you can get some very decent framerates. On my own PC I get between 640 to 740 fps. That's with a NVIDIA 8400GS. On another pc here with similar specs, but a slower graphics card I get about 300 fps. So let me know how much you reach!

Bear in mind that the targeting system of the missiles still needs some tweaking. It should make better decisions on what target to take. But that can be done later when I'm finishing the game :-). I'm sure there are some other bugs as well. So let me know if you found them.

*small sidenote: FRAPS didn't capture the smoke trails very well. So it's not really representative.*

Controls
A: Fire main weapon
S: Fire smart bomb if acquired
Arrow keys: Move

Download
Download 2dsupershoot for Windows and Linux

Screenshots




(Posted on June, 1st 2008, 14:18)

Comments


yonni said:
Nice going, glad you've got it all working. I manage about 60fps with P4 2.8GHz and Nvidia GeForce 6200 with 256Mb VRAM, which is odd, 'cause I got better framerate when you were using SDL and I was only on a Intel GMA integrated graphics (otherwise exactly the same PC)

The smoke trails look slightly blocky and out of place though, the animation is fine, I just feel that the textures could be better for them.

Also, it took me ages to workout which key was shoot, can't it be something obvious like space or ctrl?
(Posted on June, 1st 2008, 17:18)


yonni said:
I also just managed to get health of -10%, you might want to stop that from happening.
(Posted on June, 1st 2008, 17:22)


Htbaa said:
Ah yes I know. I also ran out of lives and had my health at 35% :-).

Sorry, should've been more clearer about the controls. I'll edit my post.
(Posted on June, 1st 2008, 17:32)


Htbaa said:
I must say I'm rather shocked about your framerate. That video card seems a whole lot better then my Intel Integrated Graphics card in my laptop. And that one manages to get around 120fps, same processor as yours.
(Posted on June, 1st 2008, 17:35)


Sandman said:
lifes ftw
Runs about 170 fps here, laptop Pentium 4 2GHz, 512MB RAM, Mobility Radeon 7500.
(Posted on June, 1st 2008, 17:51)


(. )( .) said:
I'm doing something important(ie not sandman's momma) atm so I don't dare running this thing yet but hooray for the screenie. C++ is so bragworthy.
(Posted on June, 1st 2008, 18:15)


Htbaa said:
I'm getting the feeling that I have to probe the fps I'm getting on my system :-D
(Posted on June, 1st 2008, 18:32)


yonni said:
Just a note, I do have 2 monitors running off that card, but even so I am surprised how slow the framerate is. If there was a fullscreen option the second monitor would turn off and then I could see if that's the problem.

Or I just wait until my brother comes back from uni and takes his monitor back...
(Posted on June, 1st 2008, 20:17)


Htbaa said:
I've yet to decide on how to implement the full screen option. But I agree, your fps rate is very low. You're sure there's no virus scanner doing a scan in the background or something like that?
(Posted on June, 1st 2008, 22:15)


yonni said:
Nope, it's was just firefox, 2 word docs, win explorer, active virus protection (not scanning), and sharkbite (which has virtually no system footprint).

My scanning software absolutely occupies the whole machine, it's impossible to not notice when it's running.
(Posted on June, 1st 2008, 23:41)


Htbaa said:
Square also had a low framerate of about 60fps. I really don't understand why that is happening. I've tested it on 3 different video cards, with 3 different CPU's (1 intel core 2 duo, 1 amd 64bit dual core, P4 2,8ghz).
(Posted on June, 1st 2008, 23:45)


DTM said:
I get about 250 FPS. 1.6GHz, Mobility radeon 9700.
(Posted on June, 2nd 2008, 12:07)


Htbaa said:
Some good news at last :-)
(Posted on June, 2nd 2008, 17:54)


yonni said:
Ok, just tried my laptop and managed between 300 and 600 fps, and this is running vista! That's with: Core Duo 1.8GHz and Radeon x1250m sharing 1GB RAM
(Posted on June, 2nd 2008, 19:18)


Htbaa said:
Well I'm glad to hear that you're getting higher framerates on that machine.

But still I'm surprised by the diversity in framerates.
(Posted on June, 2nd 2008, 21:44)


DTM said:
Vsync! On another computer I got 60 FPS... then went into display settings, change vsync from "application controlled" to "off" and am now getting about 300 FPS :)
(Posted on June, 2nd 2008, 22:15)


Htbaa said:
VSync huh? Makes sense. Thanks!
(Posted on June, 3rd 2008, 00:29)


yonni said:
Boom, without VSync I now get just less than 300fps
(Posted on June, 3rd 2008, 14:15)


Rincewind said:
My FPS is steady at 512 (even during the menu...),I have a Pentium M 740 (1,73 Ghz), 2 GB DDR2, Ati Mobility Radeon x700 128 MB.

I like the missiles.
(Posted on June, 7th 2008, 00:37)


Htbaa said:
Nice. Thanks!

The menu has the worst instable framerate, but that's because of the menu selection. I'll change that soon :-).
(Posted on June, 7th 2008, 09:44)


Eckolin said:
FPS between 120 and 150 on average.
VIA/S3G Unichrome graphics 'card', AMD Athlon 2600+ (2 GHz), 2GB DDR.

The background is completely white now, while it displayed correctly in the last version.
(Posted on June, 7th 2008, 14:27)


Htbaa said:
Perhaps your graphics card doesn't support big textures? I might need to change the background rendering I think.
(Posted on June, 7th 2008, 16:39)

Post New Comment

You must log in or register to post comments.

Worklogs > Htbaa's Worklogs > C++ 2D Shooter project > 2dsupershoot 0.3.1 demo
Copyright © 2005 Booleansoup.com
Questions? Comments? Bug reports? Contact us!