Snap of the game:
I know how to achieve this by canvas. But I'm wondering whether there's a direct way.
THANKS~
The campfire is simulated by a particle system, and I want the flame size to decrease over time. But I don't know how to scale the particle system.How to scale a particle system?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: How to scale a particle system?
You can scale it down with :setSizes() and :setSpeed()liyonglove2d wrote:Snap of the game:The campfire is simulated by a particle system, and I want the flame size to decrease over time. But I don't know how to scale the particle system.
I know how to achieve this by canvas. But I'm wondering whether there's a direct way.
THANKS~
Re: How to scale a particle system?
GitHub | MLib - Math and shape intersections library | Walt - Animation library | Brady - Camera library with parallax scrolling | Vim-love-docs - Help files and syntax coloring for Vim
- liyonglove2d
- Prole
- Posts: 38
- Joined: Sun Mar 29, 2015 7:06 am
Re: How to scale a particle system?
Thanks, both good ideas.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 3 guests