Post your favorite particle settings...

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Post your favorite particle settings...

Post 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.
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: Post your favorite particle settings...

Post 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? ;)
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Post your favorite particle settings...

Post 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.
User avatar
slime
Solid Snayke
Posts: 3160
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Post your favorite particle settings...

Post by slime »

This is a fairly decent particle editor for LÖVE.
User avatar
leiradel
Party member
Posts: 184
Joined: Thu Mar 11, 2010 3:40 am
Location: Lisbon, Portugal

Re: Post your favorite particle settings...

Post 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.
Attachments
smoke.png
smoke.png (4.05 KiB) Viewed 2217 times
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Post your favorite particle settings...

Post 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.
User avatar
Robin
The Omniscient
Posts: 6506
Joined: Fri Feb 20, 2009 4:29 pm
Location: The Netherlands
Contact:

Re: Post your favorite particle settings...

Post 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. ;)
Help us help you: attach a .love.
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Post your favorite particle settings...

Post 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.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests