Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is/Will StageXL be compatible with Flutter by now? #339

Open
aosoft2010 opened this issue Nov 26, 2020 · 3 comments
Open

Is/Will StageXL be compatible with Flutter by now? #339

aosoft2010 opened this issue Nov 26, 2020 · 3 comments

Comments

@aosoft2010
Copy link

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

Is this still an active initiative?

@bp74
Copy link
Owner

bp74 commented Nov 26, 2020

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!!

@nilsdoehring
Copy link
Collaborator

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.

@kevmoo
Copy link
Contributor

kevmoo commented May 3, 2022

Duplicate of #316

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants