I want to use particlesystem,but the "newParticleSystem" only supplies full image.
But I have a big image that has many effects.Is there a way to use love' s quad?
In other way,how can I get a part of image?
Thanks!
[solved]how to use particlesystem with quad
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
[solved]how to use particlesystem with quad
Last edited by dwdcth on Tue Jan 01, 2013 12:03 pm, edited 1 time in total.
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: [help]how to use particlesystem with quad
You could write your own particle system because I don't think Löve currently allows the use of a quad table and image for a particle which is sad. They should implement it. Let us specify an image and a quad table that's properly numbered then have it automatically figure out when each frame should be used based on the length of the quad table and the life of the particle.
Implement this please dear Löve developers!
Implement this please dear Löve developers!
- bartbes
- Sex machine
- Posts: 4946
- Joined: Fri Aug 29, 2008 10:35 am
- Location: The Netherlands
- Contact:
Re: [help]how to use particlesystem with quad
I am not even sure what you're asking for Jasoco..
dwdcth, it looks like that's an animation though, are you sure you want to be using ParticleSystem?
dwdcth, it looks like that's an animation though, are you sure you want to be using ParticleSystem?
Re: [help]how to use particlesystem with quad
I think Jasoco's asking for animated particles
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
- Jasoco
- Inner party member
- Posts: 3727
- Joined: Mon Jun 22, 2009 9:35 am
- Location: Pennsylvania, USA
- Contact:
Re: [help]how to use particlesystem with quad
Exactly. A particle is just an image that is static and shrinks or grows over its lifetime. Why not implement the ability to also specify a properly constructed quad table and have it use that instead? Then you can make swirling smoke or other effects instead of just plain static images.
Re: [help]how to use particlesystem with quad
Thanks,all of you.When there are a lot of effects, you need to generate a lot of images corresponding.But I want to put these
effects into one big image.From your explanations,I know it may be impossible unless realize your own functions.
effects into one big image.From your explanations,I know it may be impossible unless realize your own functions.
Who is online
Users browsing this forum: Bing [Bot] and 5 guests