Category: 2D Overlay
Syntax:
b2dIsImagesColliding:Int(image1:Int, x1:Int, y1:Int, scaleX1:Double, scaleY1:Double, rotation1:Double, image2:Int, x2:Int, y2:Int, scaleX2:Double, scaleY2:Double, rotation2:Double)
Int
Pixel-perfect collision with scale/rotation (transforms match rendering, expensive ~5-50ms, stores collision point).
Takes image1/2 (handles), x1/y1/x2/y2 (positions), scaleX1/Y1/X2/Y2 (scale factors, doubles, 1.0=normal), rotation1/2 (degrees, doubles).
Returns 1 if non-transparent pixels overlap, 0 if no collision.
View detailed documentation online
;No example implemented yet
BambooBasic © 2026 Michael Denathorn