Thread: Beats of Fire
View Single Post
Old 18 November 2012, 03:52   #28
Codetapper
2 contact me: email only!

Codetapper's Avatar
 
Join Date: May 2001
Location: Auckland / New Zealand
Posts: 3,135
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.04770 seconds with 9 queries