Thread: Beats of Fire
View Single Post
Old 18 November 2012, 02:52   #28
Codetapper
2 contact me: email only!
 
Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,182
Havie: Assuming your hotspot for each character are their feet, you can test if the character should even be checked for collisions by seeing if they are very close to each other's Y coordinate. If they're within say 4 pixels, then they're close enough so continue the tests for your collision rectangles. If not, skip that character. That should work fine!
Codetapper is offline  
 
Page generated in 0.04376 seconds with 11 queries