Wrapping HTML/JS/Babylon.js game/app for consoles?

This maybe a little off topic, but I gather it’s possible to create a simple native wrapper for consoles like Playstation, XBox and Nintendo etc, but I haven’t been able to find much specific about it. Anyone know of anything?

I’m aware of using Electron, Capacitor, NW.js for Windows, Mac, Linux, Android and iOS but they don’t seem to be able to handle gaming consoles unless I’m missing something.

That is a really nice topic, maybe @bghgary or @Cedric have any ideas ?

1 Like

Console are made so developers can use all their performance using native code.
Moreover, between security concerns, no virtual mem, garbage collection and console CPUs (console CPU are less performant than desktop ones), it doesn’t make sense to use JS.
Also, rendering APIs are specific and under NDA.

1 Like

Makes sense now that you put it that way.

I’d just read some random post on Reddit saying that all consoles have web browsers so thought there might be an avenue to package web games for consoles, but I guess not :slight_smile:

I’m pretty sure it’s (very) very limited. Not sure about support for webgl, let alone JIT that must be disabled and other limitation on memory available.
Security first!!! Some console could be rooted because of a security hole in a web browser. I don’t remember which one.