Performance Problems Particles vs Alpha Blending

Started by mode7, Sun 07/11/2010 10:58:06

Previous topic - Next topic

mode7

Hi there,

I'm having some serious issues with my game (800x600, 32bit color)
I'm running the fog module and I'm drawing some particles on the Background with Particle Systems manager.

My Problem is that with both enabled the game goes completey slow:

With DirectDraw I can't daw the fog elements without going down to 20 frames.
With D3D I can't draw the particles (even if its only very few) without going down to 13 frames.

So my question would be - is there any kind of workaroound for this? Maybe a different way to draw particles (with alpha) or do I have to accept this engine restrictions?

Calin Leafshade

AGS is not particularly good at drawing sprites (or rather the underlying technology isnt)

If something is very intensive then you might consider pre-rendering it.

mode7

I hadn't thought of that - anyway - i dropped the resolution to 320 and I'm getting constant framerates so this is kind of solved

Pumaman

What is the "Particle Systems manager" that you're using? I'm not sure what that might do to render the particles.

Dualnames

Quote from: Pumaman on Sun 21/11/2010 22:14:05
What is the "Particle Systems manager" that you're using? I'm not sure what that might do to render the particles.

It's a module.

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36706.0

I'm not sure if the download link works anymore, but I always keep a copy so if you need one, let me know.
Worked on Strangeland, Primordia, Hob's Barrow, The Cat Lady, Mage's Initiation, Until I Have You, Downfall, Hunie Pop, and every game in the Wadjet Eye Games catalogue (porting)

SMF spam blocked by CleanTalk