Sprite collision

im using two (transparent background) .png images as sprites. Both are of same width and height. And both have the same starting point.

But one image is on lower half of one sprite, and the other image is on upper half. Non-transparent (visible) parts of the images collides only at one point. Even though sprites meets at only one point the method below always returns true.

I used this method to check the collision.

What's wrong with my code ?

boolean checkCollision(){

if(sprite_car.collidesWith(sprite_man,true)){

returntrue;

}elsereturnfalse;

}

hope this info is enough .If anyone need more info pls let me know.

Thanx in advance !

[1081 byte] By [icebreakera] at [2007-11-26 20:34:37]
# 1
hi,incase you have not yet found the answer, can you post the code here?
dewdropsa at 2007-7-10 1:26:29 > top of Java-index,Java Mobility Forums,Java ME Technologies...