Does the engine have Steamworks integration or is Greenworks (https://github.com/greenheartgames/greenworks) + Electron/NWjs the only solution? Or is it possible to integrate Steamworks directly and use an alternative WebKit solution like Ultralight (https://ultralig.ht/)?
The engine doesn’t have an Steam integration out of the box unfortunately. This would be something you would have to do yourself.
I would have thought you be able to transpile the Greenworks library into ES5 and use it where you wanted. (Again, bit something I’ve tried).
Had another quick look at Ultralight (which looks interesting in itself) and looks like it supports calling C functions from JS and JS functions from the C++ side. It looks it could be possible to integrate the Steam SDK in the C++ part of of the Ultralight framework and for PlayCanvas app to communicate with it.
Currently I dont have a PlayCanvas subscription to be able to export and try your solution, though not having to use Greenworks (limited, doesn’t have Steamworks networking) and Electron (ram and storage consumption) is perfect. Thank you for your research
You can export without a subscription.
Oh, I didn’t realize PlayCanvas has new plans, no announcement? Specifically the free plan used to be 200MB without export and now it’s 1GB with export (and not only that)! Thank you
We’ll announce Monday. We’re ensuring everything’s working as expected first.
Wow! That’s huge news for anyone on the hobby project side.
Reading into Ultralight, it looks like it doesn’t support WebGL yet which is a shame. Will keep my eye on that one.
There’s a recent blog on getting an HTML5 game on Steam here that can help https://www.codecks.io/blog/2019/creating-a-hit-steam-game-in-html5/
Thanks for the addition of exporting on the free plan team! Although we use a subscription, I’m sure all our hobby projects will receive a huge boost!