Author Topic: Particle system  (Read 2335 times)

MrTAToad

  • Guest
Particle system
« on: 2008-Oct-26 »
A built-in 2D particle system may nbe useful.

Offline S. P. Gardebiter

  • Mr. Polyvector
  • ***
  • Posts: 245
    • View Profile
    • Tile 44 Interactive
Re: Particle system
« Reply #1 on: 2009-Jan-10 »
Yeah I'm all for an particle system too.
I don't know if SETPIXEL is just fast enough to make a costum one.
~ Cave Story rules! ~

Offline Hemlos

  • To boldy go where no pixel has gone before!
  • Global Moderator
  • Prof. Inline
  • *******
  • Posts: 1579
  • Particle Hawk
    • View Profile
Re: Particle system
« Reply #2 on: 2009-Jan-10 »
I used DRAWRECT for the 2d gravity sim, and the alife program, these are posted in download section.
Observations:

2d grav sim: On my pc(slow imo), many hundreds of them can be used fairly quickly.

alife program: hundreds of unique systems can be generated before system slows down..
The amount posted to the screen should represent the most possible before  fps drops below 60fps.
When the lifeforms get large about 150 unqiue forms  can float around at 60fps.

I also am not finished with my cprint font, but i have created an elaborate particle system for them.
I can post many dozens of characters (fully animated with particles), before them system bogs down.

Also, ive seen a 2d particle system somewhere in the forums, a game was made with them but i think it wasnt being shared in public code.

Further: Schranz0r made a particle system but i think the download links are dead atm:
http://www.glbasic.com/forum/index.php?topic=949.0
Volume_of_Earth(km^3) = 4/3*3.14*POW(6371.392896,3)