Sign in to follow this  
richpixel

SpriteBatch disabling input events?

Recommended Posts

I'd like to use SpriteBatch instead of Groups for 2 layers that display up to 64 sprites for a speed boost.

 

However, simply changing Group to SpriteBatch didn't work - I used to be able to tap/click on the sprites, but now that input event doesn't seem to fire.

 

I'm wondering if SpriteBatch disables or disrupts input somehow?

 

Interestingly, the input events are attached to the parent of the SpriteBatch, not the SpriteBatch itself.

 

Thanks

-rich

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.