Pixel Collision?

Monkey Forums/Monkey Programming/Pixel Collision?

FelipeA(Posted 2012) [#1]
Has anyone been able to get a pixel perfect collision detection on Monkey without editing mojo's native files?

Thanks!


AdamRedwoods(Posted 2012) [#2]
you would need readpixel for each target. Which is possible.


FelipeA(Posted 2012) [#3]
Like diddy's getPixel ?
thanks


Shinkiro1(Posted 2012) [#4]
If you have BlitzMax installed be sure to check out the CollideImage Function in brl.mod/max2d.bmx.
Also do a rect/distance check before doing pixel-perfect check (performance).