detect character

Hello again!

I tested in android and found bad bug in “Collision”.

If i testing in Simulator, all work okay, but if i testing in Android, i have this:

Log:

I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
  

and if i Spam clicking in screen, i succ transition, but its not good!
https://lh4.googleusercontent.com/-sEmF17Wje70/UQ-LbrlICZI/AAAAAAAAJQY/2Es330O24l0/s901/2013-02-04

how fix this big problem?

And code:

[lua] function charSelected:postCollision( event )
if(int == 0) then
print ("-------------------")
print( “detect postcollision”)
newX = charSelected.x
newY = charSelected.y

transition.cancel(trans1)

timer.performWithDelay( 100, function()
trans1 = transition.to(
charSelected,
{time=500, x=newX, y=newY}
)
print (“transition worked”)
end )
moveToPoint()
print (“getting Point…”)
int = int + 1

end
end
charSelected:addEventListener( “postCollision”) [/lua] [import]uid: 211767 topic_id: 35432 reply_id: 141505[/import]

or how i Can disable “effect rotate by knocks down”? [import]uid: 211767 topic_id: 35432 reply_id: 140892[/import]

i read documentation and found nice function, its: char.isFixedRotation = true
and work super :).
[import]uid: 211767 topic_id: 35432 reply_id: 140895[/import]

Great, glad it’s working! [import]uid: 181948 topic_id: 35432 reply_id: 140920[/import]

UPD:

I tested in iPad, and this bug not found, only in android.
What is? Bug in Corona? [import]uid: 211767 topic_id: 35432 reply_id: 141587[/import]

Hello again!

I tested in android and found bad bug in “Collision”.

If i testing in Simulator, all work okay, but if i testing in Android, i have this:

Log:

I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
I/Corona (15731): -------------------  
I/Corona (15731): detect postcollision  
I/Corona (15731): getting Point...  
I/Corona (15731): transition worked  
  

and if i Spam clicking in screen, i succ transition, but its not good!
https://lh4.googleusercontent.com/-sEmF17Wje70/UQ-LbrlICZI/AAAAAAAAJQY/2Es330O24l0/s901/2013-02-04

how fix this big problem?

And code:

[lua] function charSelected:postCollision( event )
if(int == 0) then
print ("-------------------")
print( “detect postcollision”)
newX = charSelected.x
newY = charSelected.y

transition.cancel(trans1)

timer.performWithDelay( 100, function()
trans1 = transition.to(
charSelected,
{time=500, x=newX, y=newY}
)
print (“transition worked”)
end )
moveToPoint()
print (“getting Point…”)
int = int + 1

end
end
charSelected:addEventListener( “postCollision”) [/lua] [import]uid: 211767 topic_id: 35432 reply_id: 141505[/import]

UPD:

I tested in iPad, and this bug not found, only in android.
What is? Bug in Corona? [import]uid: 211767 topic_id: 35432 reply_id: 141587[/import]