Jump to content

Importing Rope, not exported from pixi.js


jasonsturges
 Share

Recommended Posts

On Pixi.js 5.3, trying to incorporate a curved text similar to these v4 examples:

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?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...