It looks like you're new here. If you want to get involved, click one of these buttons!
Hi everyone, we're in the middle of our GameJam and trying to make a menu with clickable buttons. Our idea was to use orxOBox_2DIsInside to check whether the mouse position is inside the box, but we're not really clear on what the argument const orxOBOX * _pstBox
should be? Handing over the "Exit Button" from the config files doesn't seem to work...
Comments
Don't hesitate to poke us on the chat directly next time!
What you wanted was one of the two orxObject_(Box)Pick functions.
Otherwise you can also retrieve the bounding box of an object with orxObject_GetBoundingBox and you would have had your orxOBOX.