APXEOLOG Posted June 4, 2015 Share Posted June 4, 2015 Hi! Is there any way to render sprite's children before itself? This is example of what i have now: And i want to have those black lines under the image. Quote Link to comment Share on other sites More sharing options...
wayfinder Posted June 4, 2015 Share Posted June 4, 2015 Make them siblings inside a DisplayObjectContainer and you can control which one is on top Quote Link to comment Share on other sites More sharing options...
APXEOLOG Posted June 4, 2015 Author Share Posted June 4, 2015 Make them siblings inside a DisplayObjectContainer and you can control which one is on top Is there any way to do it without DisplayObjectContainer? I don't have time/will to rewrite code from sprites to DisplayObjectContainers. I've tried this before asking this question but i had lot's of problems with scale/anchors/positions etc. Quote Link to comment Share on other sites More sharing options...
wayfinder Posted June 4, 2015 Share Posted June 4, 2015 a sprite can act as a container too, so you can have a dummy sprite and make your platform and your measurements children of it 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.