Phaser 3 support and npm package publishing
See original GitHub issuePhaser 3 is released and I was wondering if you would consider supporting it, and publishing the module on npm. if you wanted to release all your JS plugins, you could consider a tool like lerna. This way you can keep your monorepo, but released the different run-times seperately
I am working on a boilerplate called create-phaser-app
. I’d love to include this in the “templated project” because its free and open source.
If you released a Phaser 3 plugin could also support CommonJs modules? Module-tree-shaking and similar technology can work to reduce the size of the package. In Phaser 3, modules are fully supported, instead of relying only on global namespaces. Maybe something with this structure
I spent some time last night taking a try to port the code. Yet, the dragonbones-runtime
and common-module
are more complex than I expected. I saw that you extended the Slot and the BaseFactory inside of your .ts files, yet a many of the methods deprecated in 5.5. For example the DataParser
methodes. I wasn’t completely sure what was the right approach
Here are some thing that might help to know:
- Phaser 3 is out, and they released the ability to use containers
- They are currently working on Spine and Creature support, since containers are released
Let me know if there’s anything I can do to help, thank you!
Issue Analytics
- State:
- Created 5 years ago
- Comments:30 (19 by maintainers)
Top GitHub Comments
@the-simian new db for phaser3 is ready, it will soon be merged to master.
Hi, I add phaser 3.x in dev branch, But there are still some problems that cannot be solved.
https://github.com/DragonBones/DragonBonesJS/blob/dev/Phaser/3.x/src/dragonBones/phaser/PhaserFactory.ts#L49 https://github.com/DragonBones/DragonBonesJS/blob/dev/Phaser/3.x/src/dragonBones/phaser/PhaserFactory.ts#L97 https://github.com/DragonBones/DragonBonesJS/blob/dev/Phaser/3.x/src/dragonBones/phaser/PhaserFactory.ts#L114 https://github.com/DragonBones/DragonBonesJS/blob/dev/Phaser/3.x/src/dragonBones/phaser/PhaserSlot.ts#L195 https://github.com/DragonBones/DragonBonesJS/blob/dev/Phaser/3.x/src/dragonBones/phaser/PhaserSlot.ts#L252