BlitzMax ImagesCollide function in Monkey

Monkey Forums/Monkey Programming/BlitzMax ImagesCollide function in Monkey

erebel55(Posted 2014) [#1]
Has anyone ported the ImagesCollide function from BlitzMax yet? If not, could someone give me a breakdown of what would be involved?

Thank you


therevills(Posted 2014) [#2]
http://www.monkeycoder.co.nz/Community/posts.php?topic=4602


erebel55(Posted 2014) [#3]
Thank you therevills, I somehow missed that thread. I will try this out and see what kind of results I get.

:)


erebel55(Posted 2014) [#4]
The fact that your method doesn't work on scaled images will be a issue for me though. I don't really care about rotation, but I need scaling as the images will be scaled based on DeviceHeight and DeviceWidth. Have you extended this to work with scaled images yet?


therevills(Posted 2014) [#5]
Nope, as it was just a POC (Proof of concept)... As I said in that other thread:
IMO 99% of the time you dont need to check collisions at the pixel level, just check hotspot areas on your sprites.