trsh Posted August 29, 2016 Share Posted August 29, 2016 When transform is added to parent, it's also added to children right? In some case I don't want this - I want to control my self, how children reacts when parent transform is changed. Can I do that? Any advice? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted August 29, 2016 Share Posted August 29, 2016 yep, you can create your own Transform class, change its updateTransform method, then "mySprite.transform = new MyTransform()". use Transform or StaticTransform as a base. I used that for custom updates in pixi-spine, and for 2.5d stuff in gameofbombs-pixi fork Quote Link to comment Share on other sites More sharing options...
trsh Posted August 29, 2016 Author Share Posted August 29, 2016 Just now, ivan.popelyshev said: yep, you can create your own Transform class, change its updareTransform method, then "mySprite.transform = new MyTransform()". use Transform or StaticTransform as a base Ok. Will try that! tnx for advice 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.