Jump to content

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.

Link to comment
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.

Link to comment
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.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...