CWLoog Posted September 9, 2021 Share Posted September 9, 2021 //package.json "peerDependencies": { *** "@pixi/display": "^6.1.2", }, "devDependencies": { *** "@pixi/display": "^6.1.2", } //test.ts import { Container } from "@pixi/display" function(c:Container){ c.interactive //VSCode PROBLEMS show "Property 'interactive' does not exist on type 'Container'" } Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted September 9, 2021 Share Posted September 9, 2021 because you didnt add "@pixi/interaction" in yout bundle. You have to make a bundle, you know it, right? Either use "pixi.js" and import stuf from submodules like "@pixi/display", either make your own bundle with this tool: https://pixijs.io/customize/ . If you forget to add some crucial stuff like "registerPlugin" for renderer - sprites might not work Quote Link to comment Share on other sites More sharing options...
CWLoog Posted September 10, 2021 Author Share Posted September 10, 2021 I see now? Thank you! Quote Link to comment Share on other sites More sharing options...
hulkyuan Posted February 21, 2022 Share Posted February 21, 2022 On 9/10/2021 at 8:43 AM, CWLoog said: I see now? Thank you! hi man can you show some code pls? i still didn't figure this out Quote Link to comment Share on other sites More sharing options...
ivan.popelyshev Posted February 22, 2022 Share Posted February 22, 2022 (edited) Try ask in pixijs slack or in github discussions Edited February 22, 2022 by ivan.popelyshev 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.