Depth testing input

Handling input manually like in the previous recipe gives us the opportunity to manage touchable objects at a high level.


Using an array of sprites sorted by Z order we can “swallow the input” so that background sprites aren’t affected.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

Archives

All entries, chronologically...

Weboy