Since Graphics 2.0 basically halted development of my game, I’ve been a little nervous to come back to it.
I recently tried to fix an issue with hit-testable areas of buttons and ran into some confusion.
Making the masks the same size as the graphics (roughly, with multiples of 4), I noticed that I had to do some strange adjustments to maskX and maskY that I don’t understand.
My test project is attached, with graphics and masks. Why do I have to adjust the maskX to 214 and maskY to 103 to make the masks “fit”? How does that math work and why?