A very fast particle library which you can use to create nice effects!
A fireworks example is included, press mousebuttons to test it! Download
EDIT: New version, with much faster right click rockets!
If you like it feel free to click the paypal button on my webpage!
BTW:
And if you're going to use it as a includefile in your project, then you must declare both #ScreenWidth and #ScreenHeight first since it use those constants.
Removed code from forum, since the forum made a mess of it...
Last edited by Joakim Christiansen on Tue Jun 06, 2006 10:49 pm, edited 10 times in total.
I think you have to explicitly enable inline assembler in File/Preferences, Editor/Defaults, third item (checked).
Then it should work.
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
@Joakim Christiansen:
Very nice effect! Works fine here on my system with PB4 beta3 !!! no problems and no source changing required!
The effects runs here at 100 fps/s.... even when i hold down the left mouse button i get arroung 50.000-52.000 particels and they are moving still at 50 fps/sec...
I'm embarrassed to say, though, that my $25 32MB video card chugs along at 4fps if I hold both buttons for ten seconds or so... I know, time for an upgrade
It's a good card for game development, though, because it forces me to think optimally (literally)!
Russell
*** Diapers and politicians need to be changed...for the same reason! ***
*** Make every vote equal: Abolish the Electoral College ***
*** www.au.org ***
Amiga5k wrote:Works here, too, even with Inline turned off.
I'm embarrassed to say, though, that my $25 32MB video card chugs along at 4fps if I hold both buttons for ten seconds or so... I know, time for an upgrade
It's a good card for game development, though, because it forces me to think optimally (literally)!
Russell
Hehe, you should get yourself a new card indeed.
But my code is also a little slow when there is much particles on the screen and the right mousebutton rocket explodes, it's weird...
And yeah, it's smart to do game developing on a old/slow machine!
@joakim christiansen: Thanks for all the work you did on this, it's beautiful. I tried it a couple days ago but didn't realize I had to press mouse buttons to see anything
Super job!