Hodgey thats amazing. Its absolutely spot on. Exactly what im looking for.
I am having trouble with the help files at the mo so i cant look at any of the extends stuff in depth just yet but im working on it
.
I played around with the line:
collision = spr get collision(red.num, green.num, 1)
And changed it to 0. This just returns whether it has hit or not which is nice. But set to one (like it is above) is marvellous. Does it return the number of pixels that are overlapping. If this is the case i could think of a good use for it. For example a character running through fire or lava perhaps, the more pixels covered the more faster the damage on the burns variable
This is just great and eactly what the difference between sprite hit and collision should be, instead i will now just use one of these in conjunction with the extends command (so i am not constantly checking for pixel perfect collision, only when bounding boxes overlap) unless it isnt particularly computer intensive to do this throughout the game.
Once again Hodgey, thanks a lot. I love it!