I’m experimenting with a game and rather than deal with platform specific graphics I’m just targeting wasm and webgl and plan to embed my game in a browser runtime.
It feels less terrible than the mess that is linking platform specific logic and code.
The vast majority of game engines already have seamless cross platform support. Nothing need be done beyond selecting your target when compiling. Use Vulkan instead of dx11/12 and good to go
I’m experimenting with a game and rather than deal with platform specific graphics I’m just targeting wasm and webgl and plan to embed my game in a browser runtime.
It feels less terrible than the mess that is linking platform specific logic and code.
The vast majority of game engines already have seamless cross platform support. Nothing need be done beyond selecting your target when compiling. Use Vulkan instead of dx11/12 and good to go
Or use a real cross-platform UI toolkit.
Like what?
One of them.
Do you have suggestions?
Last time I looked at QT I didn’t like it
For what it’s worth, I’m not looking at electron but something like an embedded browser mode. I think qt has that
Qt is overkill if all you’re using it for is to create a window you render into, something like SDL would be better.