I have 4 images going down a form, and player Image. I need to know how to make a collision thing
Please post questions to the forums, where others may benefit.
I do not offer free assistance by e-mail. Thank you!
two "things" collide horizontaly if
thing1.left < thing2.right AND thing1.right > thing2.left
thing1.top < thing2.bottom AND thing1.bottom > thing2.top
"There are two ways to write error-free programs. Only the third one works."
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center