EZGUI icon indicating copy to clipboard operation
EZGUI copied to clipboard

Pixijs V5 support and import

Open Skuriles opened this issue 6 years ago • 5 comments

Hello,

I've just started to develop with pixi and I wanted to use EZGUI. But I can't handle to proper import EZGUI. It always says EZGUI.d.ts is no module (as there are no exported modules) import "ezgui" works gives no error, but EZGUI variable is not defined. I tried to use Webpack to import directly from ezgui.js but then pixi is not defined as it is part of the main.js file.

So I have a few questions:

  1. Is this compatible with PIXI v5?
  2. How to import in a pure Typescript Project with Webpack?
  3. Why are there several EZGUI modules in d.ts file?

Skuriles avatar Feb 18 '19 07:02 Skuriles

I have the same question with you.But I think this doesn't compatible with pixi v5. I have modify relative files in the src file fold。I don't know how to tsc these files to js and .d.ts file.

empiremission avatar Jun 15 '19 13:06 empiremission

@alaa-eddine Do you accept contributions? I could take a look.

kibertoad avatar Aug 03 '19 18:08 kibertoad

Try PIXI-UI: https://github.com/pixijs/pixi-ui

ShukantPal avatar Mar 20 '20 23:03 ShukantPal

@SukantPal Oh wow, thank you!

kibertoad avatar Mar 20 '20 23:03 kibertoad

@kibertoad P.S. Pixi-UI/PuxiJS needs contributions, if you're still looking for a place to contribute to :)

ShukantPal avatar Mar 21 '20 18:03 ShukantPal