Reputation: 51
I had Animated Sprites and i scaled down thoes sprites .. And increase the size of sprites. I want to detect collision of sprites according to scaled size.
Upvotes: 0
Views: 81
Reputation: 1156
In this case you can do in this way:
For Example
Sprite player, monister;
if( player.cotains(monister.getScaleX(), monister.getScaleY())){
// you can do what ever you want
}
Upvotes: 1