Jump to content
This forum will be closing down. Please move to the respective dedicated project forums.

SpriteBatch interactive


zarstar
 Share

Recommended Posts

Yup,

 

spriteBatch is not interactive.

 

Explaination here (same as for tinting - speed)

 

https://github.com/GoodBoyDigital/pixi.js/issues/584

 

if you set it like this which is the correct way to use it on a normal sprite, the spriteBatch is not interactive.

var container = new PIXI.SpriteBatch();container.setInteractive(true);                    container.click = function(){        alert('action');             };

http://www.sevenative.com

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...