Sign in to follow this  
vornay

Will Phaser 4 be written in Flutter?

Recommended Posts

If Google's Dart/Flutter language can build HTML/WebAssembly apps that run at 60FPS, wouldn't it be a good candidate to be the implementation layer of Phaser?  Not to mention the apps could be cross-compiled to run natively on iOS, Android, Fucsia, OSX, Windows, and Linux.

Share this post


Link to post
Share on other sites

Phaser is tied to JS, that is first class in browsers and will be for a while. WASM being de facto is far from a certainty, and a long way off in the best case for it (it may see more initial penetration in tooling than applications).

Tying your project to a tech like Flutter (or even Dart) is ok, but can also potentially be a killer for your project.

TS isn't immune from this either (see CoffeeScript) but its far less invasive. If TS died tomorrow (not that it would, barring some crazy licensing thing) deleting the TS bits is trivial and can be handled by a codemod and you haven't tanked your project. Not so for writing in a completely separate language.

Not that I don't think a Dart/Flutter version is a bad idea per se, but, for me, it would be a port (or a totally separate project that follows the same/or similar conventions) with Phaser remaining as a JS (TS) project to ensure longevity of the project and remove barriers to entry.

Share this post


Link to post
Share on other sites

I'd really wait for Flutter to gain more speed, JavaScript (TypeScript won't die if JS is alive) is a jack of all trades at the moment and I don't see it dying soon.

I'm a fan of Google, like the Go language for example, but it's not uncommon they make tech that soon becomes obsolete.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.