CreateJS / EaselJS

The Easel Javascript library provides a full, hierarchical display list, a core interaction model, and helper classes to make working with the HTML5 Canvas element much easier.
http://createjs.com/
MIT License
8.14k stars 1.97k forks source link

StageGL+Adobe Animate future. #830

Open ricofegh opened 7 years ago

ricofegh commented 7 years ago

Is StageGL expected to be used for "WebGL" publishing from Adobe Animate? Or if not, will it be possible to use it for Animate-based projects? With what limitations?

lannymcnie commented 7 years ago

The idea with StageGL is you can swap the stage that is used. It is not clear at this time if Adobe will leverage it directly, but it will be really easy to swap stages to activate WebGL.

Note that it will work with any supported content, which includes Bitmaps, Sprite Sheets, and caches. Vectors and Text are not directly supported (must be cached first).

If your content is mostly bitmaps/images, or you are willing to do some work to properly cache Animate content, then it could be used.

CaptainN commented 6 years ago

In my testing, StageGL is not compatible with the way Animate outputs hi-dpi support for createjs. It ends up rending things offset by half the width/height of the stage.