StageXL icon indicating copy to clipboard operation
StageXL copied to clipboard

Is/Will StageXL be compatible with Flutter by now?

Open aosoft2010 opened this issue 5 years ago • 3 comments

I'm a lot more interested in game development with Dart,

Is this still an active initiative?

aosoft2010 avatar Nov 26 '20 10:11 aosoft2010

We were looking into this, but Flutter did not expose the underlying OpenGL interfaces. It would be possible to build it on top of Skia but this would have some restrictions and performance implications. But it would be a really cool to support Flutter and therefore mobile devices!!

bp74 avatar Nov 26 '20 10:11 bp74

Hi Bernhard,

I recently looked into this again, and Flutter's rendering APIs seem quite similar to those of HTML's Canvas object. There are probably a thousand pitfalls, but StageXL's canvas2d renderer appears like the best point to start when aiming for a FlutterRenderer.

This way, StageXL would keep working as-is, superbly optimized for web (speed and js size). For mobile or desktop app deployment, the flutter engine can be used. You wouldn't want to use Flutter for web deployments anyways, it's a sluggy mess.

nilsdoehring avatar May 06 '21 13:05 nilsdoehring

Duplicate of https://github.com/bp74/StageXL/issues/316

kevmoo avatar May 03 '22 17:05 kevmoo