You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, im testing this great library playing with some sprites and I found that no collision is detected when I reflect the sprite with scaleX = -1
To solve and check this, I save and restore scaleX when it is = -1
Which becomes quite a bigger problem with the quick fix above (collisions are detected as if the object was not vertically scaled, which is the point of the patch, but gives wrong collision coordinates).
Another quickfix, with better results :
In _collisionDistancePrecheck = function(bitmap1,bitmap2) :
Hi, im testing this great library playing with some sprites and I found that no collision is detected when I reflect the sprite with scaleX = -1
To solve and check this, I save and restore scaleX when it is = -1
I guess this is a bug.
Hope this help!
The text was updated successfully, but these errors were encountered: