01-21-2023, 03:38 PM
(01-20-2023, 11:25 PM)bplus Wrote: I just tried 2 Xmas Stars with Terry's code, looks like a complicated thing using a mask and requiring image object to fit exactly inside image width and height... I don't know. It didn't allow a simple substitution of images of 2 other objects. Damn might have to read the directions, all is lost ;-))
If Terry wants to try here are 2 images to check with collision code colors are red 255, blue 255 and clear or black background.
Run those images through a color detection routine... I'm getting a ton of colors in them! (all various shades of black, but colors nonetheless.) The red star is terrible with it. Was it converted from a jpg or something??
If I was going to check these 2 images for collision, I'd at least expect the backgrounds to be 0 alpha, to make the blending and checking considerably easier.