I think this is a bug. I have a touch button that is half the screen size and many animations happening. If I touch and then drag my finger across the screen on this button. All animations pause.It’s almost as if the enterframe event is waiting. This is on singletouch. I haven’t tried multitouch. [import]uid: 8192 topic_id: 4514 reply_id: 304514[/import]
Actually it doesn’t even have to be on the button. Anywhere on the screen. [import]uid: 8192 topic_id: 4514 reply_id: 14205[/import]
Well the very first demo I wrote to start learning Corona involved an animation that only plays while touching the screen, so clearly your bug is more subtle than simply enterFrame events not firing during touch events.
Is there any chance you could post your problem code so we can take a look? Try to narrow down just the minimum that causes the problem. [import]uid: 12108 topic_id: 4514 reply_id: 14277[/import]
Unfortunately I have lots of code split in modules. It doesn’t happen if I just touch the screen it happens if I move my finger while I touch. If I don’t move it it’s fine. [import]uid: 8192 topic_id: 4514 reply_id: 14295[/import]
Well I was dragging my finger too. And come to think of it the new Mars Attack demo involves dragging lines on the screen while objects move around, so download that and test if it works for you.
http://developer.anscamobile.com/forum/2010/12/13/martian-control-aka-flight-control-open-source-code [import]uid: 12108 topic_id: 4514 reply_id: 14296[/import]
Yes. It happens with that too. Just checked it. When I drag one of the guys all the other ones stop. [import]uid: 8192 topic_id: 4514 reply_id: 14390[/import]
Well that’s interesting. Like I said it works fine for me so you’re going to have to be really specific about the device where you encountered this problem. Like, are we talking iPhone or Android here? Which version of the OS? etc
Come to think of it, did you see this thread in the Android forum:
http://developer.anscamobile.com/forum/2010/12/15/game-slow-when-touch-and-holding-screen [import]uid: 12108 topic_id: 4514 reply_id: 14392[/import]
This happens on 1st gen Ipod Touch and iphone 3G with 3.1.3 and 3.1.2 respectively. [import]uid: 8192 topic_id: 4514 reply_id: 14404[/import]