forleafe Posted June 13, 2017 Share Posted June 13, 2017 Say I wanted to do a frame animation for a pixel art object. where it Glows and the glow effect expands around the core of the object. (Like a light turning on). I have collisions set on this object, so obviously I don't want the hitbox to expand based on the glow frames I'm adding. How would you guys suggest I manage this in pixi? I thought about adding an entirely separate container just to handle effects animations. But that sounds like it might be a headache to manage with my code, and like it might be taxing on the system. Thanks! Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted June 13, 2017 Share Posted June 13, 2017 add a child that will containt that glow frames. set "interactiveChildren=false" in that child. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.