That’s what I’ve done.
I just thought there might be another option, because it felt a bit dirty.
In any way, it works nicely, love the system.
[open source]gui particle editor and andriod preview versionSoftware: Away3D 4.x |
||
|
||
Tom.de, Newbie
Posted: 17 May 2012 09:23 AM Total Posts: 30 [ # 17 ] I’m using the particle engine plus editor quite extensively and so far it performs very well. I’ve got one issue though and I’m not quite sure if that’s down to me handling it wrong or if there might be another problem. I created a particle effect in the “effect editor” using a cube model I have. It creates 8 little cubes falling down and does not loop. I create about 6 of them via the EffectGroupFactoryS. (different types) During runtime I make about 160 clones (cloning the EffectGroup) and add them to the view. Once they played I remove them from the view and set them to null. (every time the level is replayed I clone another 160 effects. I do that because I need a different combination for each “play”) This works fine but inevitably I get the message Resource limit for this resource type exceeded. The actual error message: Is there another action I should perform to prevent this from happening?
|
||
Cheng Liao, Administrator
Posted: 17 May 2012 02:05 PM Total Posts: 116 [ # 18 ] There is some limits on attachments. Is it possible that your model is too large?
|
||
Tom.de, Newbie
Posted: 17 May 2012 02:23 PM Total Posts: 30 [ # 19 ] I’ll do some more investigation with everything else turned off… Currently building some other stuff in the game but I’ll get back to you with more detail as soon as I can.
|
||
Tom.de, Newbie
Posted: 18 May 2012 08:32 AM Total Posts: 30 [ # 20 ] I bow my head in shame. It does crash at said place mentioned above but the particle engine is not responsible. That simply means I have done something really bad elsewhere in my game.
|
||
Cheng Liao, Administrator
Posted: 18 May 2012 08:39 AM Total Posts: 116 [ # 21 ] Hi
|