sammyc123 Posted December 2, 2015 Share Posted December 2, 2015 I completely understand how to draw a line and animate it once it's on the stage. But can you animate the actual drawing of the line, perhaps with something like TweenMax? This is the behavior I'm attempting to replicate: http://codepen.io/GreenSock/pen/WbNBwO Is this possible with PIXI.Graphics()? I've searched exhaustively for examples (for days) and have yet to find anything. Any assistance would be most kind. Quote Link to comment Share on other sites More sharing options...
xerver Posted December 2, 2015 Share Posted December 2, 2015 Redraw the line each frame to the new size it should be. Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted December 2, 2015 Share Posted December 2, 2015 Redrawing the line each frame will have the same performance as SVG. If you want something faster , make a shader.Im working on custom shader that can do that kind of things. My ultimate goal is to replicate https://cssdeck.com/labs/xq2cpb8s . 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.