Closed giulioprinaricotti closed 6 years ago
Hi @giulioprinaricotti , The library is still alive but I'm lacking time to update it frequently. I'm preparing a new update with some bug fixes, and also adding a gulp build, it'll include a tsconfig too.
To allow you build your version, you can use the following tsconfig file
{
"compilerOptions": {
"noImplicitAny": false,
"sourceMap": false,
"declaration": true,
"target": "ES6",
"outFile": "./dist/EZGUI.js",
"outDir": "./dist/",
"module": "amd"
},
"include": [
"src/**/*.ts"
]
}
one reason why I stoped the major updates for a while is because the latest version of phaser announced that it'll abandon PixiJS, and EZGUI is mainly based on PixiJS. I had many plans to fix that, one of them being a rewrite from scratch, and convert it to an abstract GUI Library with separate PixiJS and Phaser plugins ... but this will tale lot of time.
so right now, I'm just trying to keep it operationnal with current PixiJS library and Phaser CE.
Thanks! Didn't notice the module mechanism was 'amd'. I'm already working on the fixes. Unfortunately we develop on Phaser 2.6.2 only so I'm not sure how much I can contribute back.
I think the library has still potential. Mostly because Phaser still lacks a decent UI framework and this one used to work so well. But it needs a huge refresh and maintainance. (Is it still active?)
I started updating / fixing some issues in the .ts files but I can't compile as I don't have Visual Studio (I'm on Code) and the project doesn't have a tsconfig.json.
Any chance to have one? The one I'm using so far has multiple issues as for example:
in EZGUI.ts
gives an error:
tsconfig.json