Game Development Community

Particle effects always cycle

by John F · in iTorque 2D · 12/06/2008 (9:09 am) · 6 replies

When I run my game on the Mac using the TorqueGameBuilder that comes with iTGB my particle effects all cycle even though they are set to stop. This happens at both design time and at run time. Running under the iPhone simulator however doesn't have this problem. Is anyone else seeing this? Is it a know problem? I've tried it on two different Macs so I don't think it is an installation problem. I couldn't find a mention of it when I searched the forums.

#1
12/14/2008 (3:36 am)
I'm finding this on the iPhone hardware, but not on iTGB on Mac or PC. I suspect it's something to do with the paup_optimize flag (www.garagegames.com/mg/forums/result.thread.php?qt=79998), as it's set on my iphone build, but not set on my desktop builds.
#2
12/18/2008 (5:25 pm)
I've tried setting %this.setUsesPhysics(true) on particle effects and that didn't change the cycling problem, so perhaps it's nothing to do with the physics optimizations.
#3
12/18/2008 (5:35 pm)
Did you try "Kill"? I wonder if that works.
Also, there is a callback onStopEffect(%this) which is called when the effect is over.
If the callback works you can try to stop it manually . akward but it might work.
Or you can schedule a call that will stop the effect. that may work better.
Just trying to think on ways around it.
#4
12/18/2008 (6:13 pm)
Update, this glitch has been fixed and it will go out with the next release.
#5
12/18/2008 (9:17 pm)
That's good news. Can you gives us a hint about the timing of the next release?
#6
12/19/2008 (12:12 am)
@John - Check out my last few posts here: Next Update