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

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