Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / [DBP] 2D Particle Functions

Author
Message
Xlaydos
20
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 22nd Sep 2007 01:04


Okay they are not great particles, but they are very fast (I get 250+ at 100 FPS on my PC) and have a nice retro feel too them.

Try playing around with the numparticles variable.
Plystire
21
Years of Service
User Offline
Joined: 18th Feb 2003
Location: Staring into the digital ether
Posted: 24th Sep 2007 22:04 Edited at: 24th Sep 2007 22:05
Lol, nice job. I love 2D work.

Only thing is, if your computer is ultra fast (like mine), the particles practically fill the area in which they are set to, so it looks like a solid flicking box.

I slowed it down a bit and then it looked better. (Was running at over 900 max FPS with the default 100 particles on screen)

~PlystirE~

[Edit]
Just tried NumParticles=1000, got max of 73 FPS, I like it
da power pwnerer
18
Years of Service
User Offline
Joined: 28th Jul 2006
Location: Pittsburgh, PA
Posted: 29th Sep 2007 17:03 Edited at: 29th Sep 2007 17:05
10,000 particles got 5 FPS lol


EDIT: crashed at 100,000 particles lol


http://Freewebs.com/noobisoft
Come to Noobisoft's website today!
Xlaydos
20
Years of Service
User Offline
Joined: 26th Mar 2004
Location:
Posted: 30th Sep 2007 15:26
lol thanks guys

Login to post a reply

Server time is: 2024-11-22 13:39:43
Your offset time is: 2024-11-22 13:39:43