J
Jeshuakrc
Guest
So, I don't need this:
Because all what it woould do is to return true once there were no pixels at all in contact with the mask. What I actually want is a way to know when one or more pixels of my sprite isn't touching the mask. I used to achieve that by runing:
But I don't like too much the idea of cheking by code every single one of the pixels of my sprite to see if one or more of them isn't coliding. Any other much "elegant" way to achieve that?
Code:
!place_free(x,y)
Code:
for(){
for(){
if(colition_point()){
if !colision_point(){
return 1
}
}
}
}