enpu Posted January 9, 2019 Share Posted January 9, 2019 Panda Engine 2.12.0 now supports bezier curves with new Curve class. Here is interactive example, where you can see bezier curve in action: https://www.panda2.io/examples#curve-handles You can modify the curve by moving the start and end points as well as the two control points. Here is also example on how to use Curve together with Tween: https://www.panda2.io/examples#curve-tween Documentation of Curve class: https://www.panda2.io/docs/api/Curve pstrejczek, khleug35 and Wolfsbane 3 Quote Link to comment Share on other sites More sharing options...
ftguy2018 Posted February 4, 2019 Share Posted February 4, 2019 @enpu Hello, That is great, however is there any reason why drawline is a drawBox in the engine ? I am unable to draw a LINE because it seems to be connected with the drawBOX, can you please kindly advise how to draw a simple LINE ? Quote Link to comment Share on other sites More sharing options...
ftguy2018 Posted February 4, 2019 Share Posted February 4, 2019 Apparently drawLINE is not working when using pixi plugin, do I need to update the plugin ? Quote Link to comment Share on other sites More sharing options...
enpu Posted February 6, 2019 Author Share Posted February 6, 2019 This seems to be issue with Pixi plugin, will put this on the roadmap. 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.