PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

CGapiMaskSurface question

I've been playing around with CGapiMaskSurface::GetMaskID() and am wondering how would I detect a collision to more than one collision mask. It is possible for a sprite to overlap more than 1 mask, but it will only give you a collision detection for one.

I have different mask IDs for different stationary things, so I want to be able to detect a moving sprite colliding with either or all of them but it doesn't seem to have this support.

Ideas?