PainKKKiller Posted July 25, 2017 Share Posted July 25, 2017 I know about 'added' and 'removed' events, but they fired only when display object added to parent container. So I was looking for events similar of flash events ADDED_TO_STAGE and REMOVE_FROM_STAGE, and found this topic So far, as I understood, in pixi.js there is no way to get event of adding to display list graph, and this is VERY, VERY UNCONVENIENT. Let me explain my situation, I need to apply some logic to display objects when they on stage, and remove this logic when they off. It can be done easily with such types of events, but now I wondering what to do? Implement my own, or there are any other ways? ivan.popelyshev 1 Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted July 25, 2017 Share Posted July 25, 2017 There's no such plugin yet. I have implementation for my games, but its not clean enough to give to others yet. https://github.com/pixijs/pixi.js/wiki/v5-Proposal%2C-Return-of-the-Stage We need some kind of voting systems for proposals... PainKKKiller 1 Quote Link to comment Share on other sites More sharing options...
PainKKKiller Posted July 25, 2017 Author Share Posted July 25, 2017 Voting for this proposal with all my hands up!!! 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.