Ezelia / EZGUI

EZGUI - The missing GUI for Pixi.js and Phaser.io
http://ezgui.ezelia.com
440 stars 95 forks source link

Pixijs V5 support and import #71

Open Skuriles opened 5 years ago

Skuriles commented 5 years ago

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?
empiremission commented 5 years ago

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.

kibertoad commented 5 years ago

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

ShukantPal commented 4 years ago

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

kibertoad commented 4 years ago

@SukantPal Oh wow, thank you!

ShukantPal commented 4 years ago

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