Page 1 of 1

lagg issue on ipod touch

PostPosted: Thu Feb 23, 2012 9:50 pm
by praaab
heres my game when i use it on my ipod it freezes for a second when i collide into an asteroid and i have no idea on how to fix lagg issues.
if it helps at all heres the link to the download of my game: http://www.filedropper.com/raadproductions_1

Re: lagg issue on ipod touch

PostPosted: Thu Feb 23, 2012 10:43 pm
by skydereign
It's because you are using particle effects. There are a couple of informative topics addressing this issue, but here are the main points. Avoid draw actor events and collision events as much as possible. Don't use too large actors, and avoid creating a lot of actors at once. There are sound things as well, but in your case you are creating 360 particle actors in a single frame. Ways to avoid this are to lessen the number created, use an animation, or a combination of the two.

Re: lagg issue on ipod touch

PostPosted: Fri Feb 24, 2012 1:36 am
by praaab
is there a software or a certain way to draw theses particles into an animation?