Jerky animation on XCode Simulator (iPad/iPhone 4)?

Hi All,

I’ve built the “Jungle Scene” sample and loaded it into the XCode (iOS) Simulator. It all runs nice and smoothly when you select iPhone as the simulated device. However, when you select iPad or iPhone (Retina), the animation seems to be a bit less smooth. In particular, the trees in the background noticeably jerk a little as they scroll. The character seems to run a bit more slowly as well…

Is this just down to the XCode Simulator? Maybe just a bit sluggish emulating the retina displays of the iPad and iPhone 4? Or is there some extra code and/or configuration required in order to get smooth and consistent animation on all devices?

I just have a non-retina iPhone myself, so I can’t test out the sample on a real iPad or iPhone 4. So, it would be really great if someone got a chance to try out “Jungle Scene” on one or other of those devices… :slight_smile:

Thanks,
Peter [import]uid: 8051 topic_id: 7696 reply_id: 307696[/import]

By the way, this (obviously) doesn’t just affect the Jungle Scene sample. I’ve seen similar behaviour with my own code. I expect that any sprite-related game would also see this…

So, it would be great to know if this is just an XCode Simulator issue or if it’s something that code/configuration needs to handle. Has anyone run Jungle Scene (or their own similar sprite-related code) on an iPad or iPhone 4? Is the animation smooth?!

Thanks,
Peter [import]uid: 8051 topic_id: 7696 reply_id: 27765[/import]

Jungle Scene runs smoothly on my ipod touch w/ retina. No jerkiness at all. I haven’t noticed any animation issues with regards to smoothness.
[import]uid: 27183 topic_id: 7696 reply_id: 27853[/import]

That’s great to hear - must be just an XCode Simulator quirk…

Thanks very much for trying that out - really appreciate it! [import]uid: 8051 topic_id: 7696 reply_id: 27912[/import]

I’m having the same issue with my app. It does run fine on my iPod touch also. I hope it is the simulator though. Now I did run my app on all platforms in corona and it looked fine. [import]uid: 72372 topic_id: 7696 reply_id: 53262[/import]