Particle Effects. Questions and Answers.
by rennie moffat · in iTorque 2D · 04/21/2011 (8:26 am) · 0 replies
Hi there, as you can see I am attempting my first try with particle effects and I have a few questions.
a. I have tested using a generic particle effect, looked work great on my 4G. Great. But I have noticed many inklings and urks about them in iTGB. Is there are there any performance issues I should be aware of? As in, should I stop here now and got to static sprites?! ::)(
b. I have tried to create on in game....
c. Can I have many of the same one in existence at once? So effectA, being used three times at once.
d. In my editor, I deleted it from my scene but create it via scripts in game. Now I can no longer manipulate it, make adjustments as it does not appear in my Particle Effects panel. It is only a file in my level folder, which is encrypted code.
:?
Thanks.
a. I have tested using a generic particle effect, looked work great on my 4G. Great. But I have noticed many inklings and urks about them in iTGB. Is there are there any performance issues I should be aware of? As in, should I stop here now and got to static sprites?! ::)(
b. I have tried to create on in game....
%this.pEfxt = new t2dParticleEffect() {
effectFile = "~/data/levels/level1WPE.eff";
useEffectCollisions = "0";
effectMode = "INFINITE";
effectTime = "0";
canSaveDynamicFields = "1";
Position = "32.949 -130.666";
size = "128.000 128.000";
CollisionMaxIterations = "3";
UsesPhysics = "1";
MountOffset = "-0.354 -0.029";
MountOwned = "0";
MountInheritAttributes = "0";
mountID = "48";
mountToID = "41";
group = 27;
};
%this.pEfxt.mount(%this.ChipsChip, 0, 0, 0, 0, 1, 0, 1);
return;
echo("%this.new particle effect created here:::::LL:LLL:::LL:");
echo("%this.pEfxt.position " @ %this.pEfxt.position);I can not see it, and of course my echo position returns "p����ýonCollision". So no good. Is there an issue with creating them in game?
c. Can I have many of the same one in existence at once? So effectA, being used three times at once.
d. In my editor, I deleted it from my scene but create it via scripts in game. Now I can no longer manipulate it, make adjustments as it does not appear in my Particle Effects panel. It is only a file in my level folder, which is encrypted code.
:?
Thanks.
About the author
My thanks to Garage Games and the Garage Games Community combined with owned determination I got one game up, Temple Racer and I am looking to build more interesting, fun games for the mass market of the iOS app store.