Page 1 of 1

Post your favorite particle settings...

Posted: Sun Mar 27, 2011 11:15 pm
by Jasoco
I am playing around with particles for a game I am working on and I wanted to know what some good settings are for particles that look really nice and work really well. Stuff like fire and smoke and magical fields and stuff like that.

Show some screenshots if you can.

Looking for stuff the particle system can do.

Re: Post your favorite particle settings...

Posted: Sun Mar 27, 2011 11:48 pm
by leiradel
If you're feeling like you could use a particle system editor, take a look at this topic. HGE's editor is very good at least as a starting point to tweak around until you have what you want.

Maybe it's time for a particle system contest? kikito? ;)

Re: Post your favorite particle settings...

Posted: Mon Mar 28, 2011 4:26 am
by Jasoco
Useless because it's Windows only. And I can't even drag the EXE into Löve. I need something that would be platform agnostic. Though you did give me an idea to make an editor of my own.

Still, I'd love to see peoples creative use of the particle system. Like what images they use, what colors, speeds, settings.

Re: Post your favorite particle settings...

Posted: Mon Mar 28, 2011 4:49 am
by slime
This is a fairly decent particle editor for LÖVE.

Re: Post your favorite particle settings...

Posted: Mon Mar 28, 2011 7:16 am
by Jasoco
Perfect! Thanks.

Re: Post your favorite particle settings...

Posted: Mon Mar 28, 2011 6:39 pm
by leiradel
Jasoco wrote:Useless because it's Windows only.
Hahaha, sorry, I still don't know what platform people here use.
Jasoco wrote:Still, I'd love to see peoples creative use of the particle system. Like what images they use, what colors, speeds, settings.
Here's an image and particle settings I'm using to make little trucks leave a trail of dense smoke:

Code: Select all

local function newSmokePuffs()
  -- created from c:/Users/Andre/Desktop/hge181/tools/particleed/particle1.psi

  -- make sure to change the line below to the correct image and maximum number of particles
  local ps = love.graphics.newParticleSystem( newPaddedImage( 'images/smoke.png' ), 64 )

  ps:setEmissionRate( 10 )
  ps:setLifetime( -1 ) -- forever
  ps:setParticleLife( 5, 5 )
  ps:setDirection( -1.5, -1.5 )
  ps:setSpread( 0 )
  -- ps:setRelative( false )
  ps:setSpeed( 10, 10 )
  ps:setGravity( -85, -85 )
  ps:setRadialAcceleration( 0, 0 )
  ps:setTangentialAcceleration( 0, 0 )
  ps:setSize( 0.2, 1 )
  ps:setSizeVariation( 0 )
  ps:setSpin( 0, 0, 0 )
  ps:setColor( 255, 255, 255, 255, 255, 255, 255, 255 )
  -- ps:setColorVariation( 0 )
  -- ps:setAlphaVariation( 0 )

  return ps
end
I use ParticleSystem:setPosition() to make the smokes come out of the rear of the truck as it goes by.

One problem with this particle system is that when a particle is deleted you can see a puff of smoke coming to the front of its neighbors. I guess I can fix it by making the maximum number of alive particles bigger.

Re: Post your favorite particle settings...

Posted: Mon Mar 28, 2011 8:12 pm
by Jasoco
leiradel wrote:
Jasoco wrote:Useless because it's Windows only.
Hahaha, sorry, I still don't know what platform people here use.
All of them. We use all of them. Mac, Linux, Windows. We use them all. Löve is best when it's kept platform agnostic.

Re: Post your favorite particle settings...

Posted: Tue Mar 29, 2011 7:56 am
by Robin
Jasoco wrote:All of them. We use all of them. Mac, Linux, Windows. We use them all. Löve is best when it's kept platform agnostic.
And don't forget the nLÖVE platforms, although I doubt that they will be suitable to develop games on them. ;)

Re: Post your favorite particle settings...

Posted: Tue Mar 29, 2011 10:39 pm
by Jasoco
Robin wrote:
Jasoco wrote:All of them. We use all of them. Mac, Linux, Windows. We use them all. Löve is best when it's kept platform agnostic.
And don't forget the nLÖVE platforms, although I doubt that they will be suitable to develop games on them. ;)
Develop, no. Play, let's hope so! I wouldn't want to develop my iPhone or Android game on the phone itself, but I sure as heck would love to test it out on them.