Jump to content

talicni007

Members
  • Content Count

    2
  • Joined

  • Last visited

  1. Ugh, thanks. Importing is at display helped, don't know why I thought that display is a method. Thanks a lot!
  2. Hello everyone, I am trying to replicate 3D Cards example in react https://pixijs.io/examples/#/plugin-projection/cards.js but I am facing a problem with pixi-layer https://github.com/pixijs/layers, somehow I cannot get acces to PIXI.display it is always undefined. I also had issues with linking pixi-projection with pixi.js but I solved it like this. Can someone give me some input how to proceed, thanks a lot import * as pixi from "pixi.js"; import * as projection from 'pixi-projection'; const PIXI = {...pixi, projection, application} export default PIXI; I am using these version
×
×
  • Create New...