Jarion Posted July 5, 2013 Share Posted July 5, 2013 Hello! It seems that I cannot scale Sprites that are inside a DisplayObjectContainer. Pretty sure my syntax is OK, and I can rescale those objects if they are outside a container. I this a known issue? Any pointers where to look in the PIXI code to fix it? Thanks in advance. Cheers! Quote Link to comment Share on other sites More sharing options...
enpu Posted July 5, 2013 Share Posted July 5, 2013 You should be able to scale.Can you show us your code? Quote Link to comment Share on other sites More sharing options...
Jarion Posted July 6, 2013 Author Share Posted July 6, 2013 Ok, my bad, I was setting the width and height before setting the scale. I assumed the scale would multiply the width and height, instead width/height override the scale setting. Thanks! 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.