b2dSetImageMidHandle

Sets pivot point to center (convenience function, auto-calculates center from dimensions). Takes imageHandle (image handle from b2dLoadImage or b2dLoadAnimImage, positive integer). Returns nothing.

2D Overlay

Parameters & Returns

Parameters

imageHandle Int

Returns

Void

Quick Summary

Sets pivot point to center (convenience function, auto-calculates center from dimensions). Takes imageHandle (image handle from b2dLoadImage or b2dLoadAnimImage, positive integer). Returns nothing.

Technical Exegesis...

Sets pivot point to center (convenience function, auto-calculates center from dimensions). Takes imageHandle (image handle from b2dLoadImage or b2dLoadAnimImage, positive integer). Returns nothing. Calculates center coordinates (uses frame dimensions for animations, full image dimensions otherwise), calls b2dSetImageHandle internally (sets handleX/handleY to calculated center), affects all subsequent draws (same behavior as b2dSetImageHandle).

Example

Example.bam
; No example implemented yet