Author Topic: Particle Editor  (Read 8368 times)

MrTAToad

  • Guest
Re: Particle Editor
« Reply #15 on: 2012-May-22 »
What I did is use tooltips, so the value is displayed once you move the mouse over it...  Might get it formatted though.

And it is available for download already!

MrTAToad

  • Guest
Re: Particle Editor
« Reply #16 on: 2012-May-22 »
One (final) update, and thats to format the tooltip text

Link : http://dl.dropbox.com/u/25216439/TestParticleEmitter.app.rar

[attachment deleted by admin]

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
Re: Particle Editor
« Reply #17 on: 2012-Jun-13 »
Download link broken :(

I've used an older version found on my HDD.
Created a fire effect, similar to what you can see in my board game: Draco. ( http://www.youtube.com/watch?v=KHr3v7eDXKg )
Download: https://dl.dropbox.com/u/292449/glbasic/particle/dracofire.zip


I'm missing a lot of features, like:
set min, max of starting rotation
set min/max of rotation during lifetime
set lifetime of all particles
set min/max of starting blend (alpha)
« Last Edit: 2012-Jun-13 by Albert »

MrTAToad

  • Guest
Re: Particle Editor
« Reply #18 on: 2012-Jun-13 »
Fortunately, I uploaded it to the Showroom here : http://www.glbasic.com/showroom.php?site=games&game=particleeditor&lang=en

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
Re: Particle Editor
« Reply #19 on: 2012-Jun-13 »
Thank you!

MrTAToad

  • Guest
Re: Particle Editor
« Reply #20 on: 2012-Jun-13 »
No problem!

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
Re: Particle Editor
« Reply #21 on: 2012-Jun-14 »
Some bugs in the editor:
- When you save out your current settings, there are some typo in the savefile, like: particle_particles_per_burst= (should be emitter_particles_per_burst), and blend4mode (should be blendmode)
- All the sliders are hard to controll, I cannot set them to 0 (zero)
- also they cover too large interval:
* (-1024-1024) should be (-100-100) and
* (-32-32) for rgb factors? should be float and (-1.0-1.0)
* also Red/Blue/Green should be float and (0-1.0)
* and the order should be Red/Green/Blue
- also write out float to R/G/B to the save file.
- Slider of Alpha Blend can be set (-1, 0, 1) but the particle editor (and the attached TParticleEmitter.gbas) excepts (0, 1, 2)
« Last Edit: 2012-Jun-14 by Albert »

MrTAToad

  • Guest
Re: Particle Editor
« Reply #22 on: 2012-Jun-14 »
I'll check that line.

The parameter ranges are all correct.   Zero is usually in the middle.  The RGB order is kept to makntain compatability with the original program.

Offline Albert

  • Dr. Type
  • ****
  • Posts: 257
    • View Profile
    • Blog
Re: Particle Editor
« Reply #23 on: 2012-Jun-14 »
MrT: Cool stuff. Within a couple of secs I managed to create my particle fire I wanted to. Cool, and thank you again!
But: there are these bugs I mentioned, and they are present in the latest version.
Now I downloaded the "original" particle editor, and it's behaves mostly different than yours. Also it's uses float (0.0-1.0) for red, green, blue components.
I cannot imagine a situation where you want use 1024 for Point weight or 32.0 for Red factor or -20 for alpha factor. The -1.0 - 1.0 intervallum seems more reasonable to me.
« Last Edit: 2012-Jun-14 by Albert »

MrTAToad

  • Guest
Re: Particle Editor
« Reply #24 on: 2012-Jun-14 »
My one uses floating values for the RGB colour.  No point writing it out as you can't use 127.5 colour.

Did fix the writing line error though.

I find the original behaves mostly similar to mine...

MrTAToad

  • Guest
Re: Particle Editor
« Reply #25 on: 2012-Jun-14 »
My one uses floating values for the RGB colour.  No point writing it out as you can't use 127.5 colour.

Did fix the writing line error though - just need to update the Showroom now

As the source code is provided, you can always make the changes yourself :)