jasonsturges Posted August 19, 2021 Share Posted August 19, 2021 On Pixi.js 5.3, trying to incorporate a curved text similar to these v4 examples: https://jsfiddle.net/themoonrat/br35x20j/ https://jsfiddle.net/themoonrat/12u1nhnq/1/ Here, I believe `PIXI.mesh.Rope` migrated to `PIXI.Rope`; however, I cannot import Rope as I do thinks such as Sprite, Container, Texture, Loader, Text, utils, etc... import * as PIXI from "pixi.js"; const rope = new PIXI.Rope(text.texture, points); This gives me: Quote Attempted import error: 'Rope' is not exported from 'pixi.js' (imported as 'PIXI'). Maybe I'm not following the Lerna module packaging here, but is there a specific package, import, or something I'm doing wrong here? Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted August 19, 2021 Share Posted August 19, 2021 SimpleRope jasonsturges 1 Quote Link to comment Share on other sites More sharing options...
jasonsturges Posted August 19, 2021 Author Share Posted August 19, 2021 Bah, not sure how I missed that. Thanks. ivan.popelyshev 1 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.