Pixel Collision?

3 replies to this topic
Posted 1+ years ago #1
ilovepixel

Has anyone been able to get a pixel perfect collision detection on Monkey without editing mojo's native files?

Thanks!

 
Posted 1+ years ago #2
AdamRedwoods

you would need readpixel for each target. Which is possible.

 
Posted 1+ years ago #3
ilovepixel

Like diddy's getPixel ?
thanks

 
Posted 1+ years ago #4
Shinkiro1

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).