lagg issue on ipod touch

Non-platform specific questions.

lagg issue on ipod touch

Postby praaab » Thu Feb 23, 2012 9:50 pm

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
praaab
 
Posts: 82
Joined: Sat Jun 18, 2011 2:14 pm
Score: 1 Give a positive score

Re: lagg issue on ipod touch

Postby skydereign » Thu Feb 23, 2012 10:43 pm

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.
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: lagg issue on ipod touch

Postby praaab » Fri Feb 24, 2012 1:36 am

is there a software or a certain way to draw theses particles into an animation?
praaab
 
Posts: 82
Joined: Sat Jun 18, 2011 2:14 pm
Score: 1 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest