Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers AppGameKit Corner / How to ignore sprites in same Pointerx() Pointery() "area"?

Author
Message
Golelorn
7
Years of Service
User Offline
Joined: 20th Nov 2016
Location:
Posted: 4th Oct 2017 23:51 Edited at: 5th Oct 2017 00:00
Example:



There are a few sprites beneath the OK button. Namely, the background sprite, and there is an equipment slot sprite. I can not get a hit on the OK button. How do I deactivate the other sprites so they are not interferring? SetSpriteActive doesn't work, SetSpriteDepth doesn't work, GetSpriteHitGroup doesnt work. Even rearranging the order the sprite was created does not work. This just seems to be random. I can not set the shape to zero, because the other sprites need a shape. Just not in this function.

Thanks.

Wow... Really dumb. I didn't have it in my main do loop... so it wasn't activating - aye yai yai

Attachments

Login to view attachments

Login to post a reply

Server time is: 2024-03-29 11:25:38
Your offset time is: 2024-03-29 11:25:38