Slow Motion

I finally learned how to test my app in the Xcode simulator. Everything looks fine but on the Ipad and Iphone retina, my game seems like it is moving in slow motion. It doesn’t happen on the the regular iphone just the iPad and retina display. What do I need to do to fix this? [import]uid: 72372 topic_id: 14335 reply_id: 314335[/import]

First thing that crosses my mind is that you might have your animation updates based on frame event. So when app is running on less productive system it looks “slow motion”. If that is so, just base your animation and logic updates on timer. [import]uid: 86824 topic_id: 14335 reply_id: 53085[/import]

I don’t have animations. I am dragging pieces to a board. [import]uid: 72372 topic_id: 14335 reply_id: 53114[/import]

Can anybody help with this one? [import]uid: 72372 topic_id: 14335 reply_id: 53243[/import]

These are just wild guesses/suggestions.

Do you have multitouch enabled in your app?

In the function that handles touch events, do you setFocus?

Have you tried killing all background processes on the sluggish devices or rebooting them?

Have you tried building another app (like one of the samples) and installing them on the device and see if they run OK?

My experience has been the opposite of yours. My apps run much faster on the iPad and iPhones 4 (have faster processors than older devices). They run OK on iPhone3G and they run sluggish on iPhone3.

[import]uid: 67839 topic_id: 14335 reply_id: 53248[/import]

Please see my responses below. Also please note this is not happening on the the iphone. It only shows on the retina display and the ipad. Lastly I have not loaded on these devices accept for the ipod touch and it works fine. The slow motion is showing in the xCode simulator.

Do you have multitouch enabled in your app?
No I am just dragging blocks to a board

In the function that handles touch events, do you setFocus?
Yes I do setFocus

Have you tried killing all background processes on the sluggish devices or rebooting them?
I am running on the simulator. This should not have an impact. It does run fine on my ipod touch though.

Have you tried building another app (like one of the samples) and installing them on the device and see if they run OK?
I am running on the simulator. It does run fine on my ipod touch though.

[import]uid: 72372 topic_id: 14335 reply_id: 53251[/import]

Sorry, I misunderstood your question.

I just tried running an app in the Xcode (iOS) simulator and my results were like yours. It seemed to be running a little sluggish when I set the device type to iPad or IPhone Retina.

I see another forum thread like this one:

http://developer.anscamobile.com/forum/2011/03/10/jerky-animation-xcode-simulator-ipadiphone-4

Maybe one of the experts will chime in with an explanation.
[import]uid: 67839 topic_id: 14335 reply_id: 53257[/import]

That’s no problem. Thank you for trying out the Xcode with one of your apps. I hope it is just the Xcode simulator but I do feel better that you have ran your app on a real Ipad and it didn’t function that way. I did post on the link you gave so if somebody does respond I should see it.

Thanks again! [import]uid: 72372 topic_id: 14335 reply_id: 53267[/import]