If I’m not mistaken, can’t you embed a webapp into a UWP application and deploy to Xbox? I’ve been reading up on this lately and I’m very curious about this. UWP apps work on Xbox
I’ve been reading up on this here:
Apparently there’s something called TVHelpers and/or TVJS. Not sure if that would work.
Here’s more info on building a UWP app, you can use Visual Studio:
I’m getting a Steam Deck soon and I’m gonna run some tests on that using Electron to deploy an app to Linux…
So If this is correct, you can deploy to Windows, Mac, Linux, iOS, Android, Browsers, Steam Deck and even Xbox, although if it’s true you can deploy to Xbox One…don’t know how much native power you’re gonna get out of it. Not sure about the newer Xbox, but that’s a pretty wide audience if you ask me. In Asia, especially China, most people use their phones for gaming, even serious gaming.
Now, about the Playstation and the Switch…
Even if you were deployed a C++ made application to the Switch, you would still need to worry about their proprietary graphics APIs, PSGL or whatever it’s called these days and NVM that Nintendo uses. It’s not easy even for someone using something like Unity or Unreal.
The easiest path to cross platform I can see is Electron, Capacitor, NW.js like you said, because you don’t have to build the thing over and over.