Salmakis Posted November 16, 2016 Share Posted November 16, 2016 Hey, i created some circles with the PIXI.Graphics thingy, and added them to a container. When i now scale that container, the lines are becoming more thick. Im sure this is the best behavior in the most situations, but i would like them to stay allways with the same width. is this possible? Quote Link to comment Share on other sites More sharing options...
xerver Posted November 16, 2016 Share Posted November 16, 2016 You could redraw the circle instead of scaling it. Quote Link to comment Share on other sites More sharing options...
Salmakis Posted November 16, 2016 Author Share Posted November 16, 2016 well i got all the stuff on a container and i just scale that one, but yes i seems like i should put the circles on a sperate container and redraw them then. just thought there may be some option or something^^ Quote Link to comment Share on other sites More sharing options...
xerver Posted November 17, 2016 Share Posted November 17, 2016 You could assign the inverse scale of the container to the graphics, then redraw the circle Not sure how well that will work depending on how big you are resizing. 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.