pixijs / pixijs

The HTML5 Creation Engine: Create beautiful digital content with the fastest, most flexible 2D WebGL renderer.
http://pixijs.com
MIT License
43.97k stars 4.78k forks source link

[Suggestion] Move the Feature about Canvas2D into a mix-in module. #3684

Closed finscn closed 7 years ago

finscn commented 7 years ago

In current PIXI , the feature about Canvas2D is build-in , it's hard to be exclude when build PIXI.

Most browsers support WebGL , and many features of PIXI need WebGL . The Canvas2D become in the minority.

bigtimebuddy commented 7 years ago

We are already planning on this for v5 of Pixi which will start to separate out the core pieces into different packages/modules. CanvasRenderer will be easier to include or exclude as a project requires. Eventually, we might be able to deprecate Canvas altogether. But we hear you @finscn!

jeebus3000 commented 7 years ago

Hey, @finscn check this out - https://englercj.github.io/2016/08/24/composition-ecs/

Recently I’ve been working on building Fae, a modular 2D renderer. My main driving force for building the project was exploring the question “If I was building Pixi.js, from scratch, today; what would I do?”

finscn commented 7 years ago

Thanks . I see & I will be waiting .

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.