b2dIsImagesCollidingSimple

Category: 2D Overlay

Syntax:

b2dIsImagesCollidingSimple:Int(image1:Int, x1:Int, y1:Int, image2:Int, x2:Int, y2:Int)


Parameters

Returns

Int



Summary

Pixel-perfect collision (no scale/rotation, AABB early-reject + alpha overlap test, stores collision point).

Takes image1,image2 (image handles, integers), x1,y1,x2,y2 (image positions accounting for handles, integers).

Returns 1 if non-transparent pixels overlap, 0 if no collision.

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn