Access Steam features in the Windows WebView2 and Linux CEF exporters. Requires r407.2+ for Windows and r412+ for Linux.
A basic technical test project that uses the plugin features.
Hold on... so this doesn't work with Linux???
It might be a good idea to post this in bold somewhere so people don't spend half an hour changing their Steam achievements to a new system, only to then have to change them back after realising this...
What about DLC check?
About the achievements, I tested them and they are working, However, despite playing the sound, it does not appear on the screen during the game.
The documentation says that this is due to the Overlay, I tried using it with it active and deactivated but the problem persists.
What would be the correct way to solve this in terms of structure? do I activate or deactivate Overlay, do I execute any event after unlocking the achievement? Thanks
Any tutorial or video teaching how to save to the Cloud using the File System? I use LocalStorage and Array to save, but the location of the json is unknown.
There's a section describing how you can set this up in the 'Documentation' tab of this addon.
Sorry for the huge text haha, thank you very much, I feel that this part of saving a JSON and loading it is what is missing in Construct3, and if it has already been implemented I need to learn now, after that the sky is the limit..
Congratulations for the attention to the community, let's dethrone Unity HAHA
Thanks for replying Ashley, I'm already testing WebView2 with this Addon on Steam, congratulations on the significant improvements :)
Regarding the explanation in the Documentation, I had commented after reading it, I am confused about how to use it, because according to the posts in the Forum and in the File System Guide, it is mentioned that it is not possible to save a file directly on the user's machine without permission.
I saw that WebView2 creates a folder in Appdata just like Nwjs, I will test later which of these files are responsible for saving the game and then point to the Steam Cloud...
According to Documentation tab, I can save my game's JSON in a location using the File System, is there an example of doing this using LocalStorage and Arrays, or even a better way to load a JSON array from Save..?
I've implemented the following code to show the Steam Overlay when SHIFT+TAB is pressed:
Keyboard: On TAB pressed (if SHIFT is down and SteamworksWebView2 is availble) -> Show Steam Overlay
However, I'm unsure how to hide the Steam Overlay when SHIFT+TAB is pressed again. Could you advise on how to implement the "un-show" functionality, so that pressing SHIFT+TAB a second time would close or hide the Steam Overlay?
Thanks for your help!
Should this work for the MacOS WKWebView platform? I tried the original Greenworks plugin and it doesn't open the steam overlay so was hoping this one might work but it gives an error when uploading it to steamworks.
This plugin currently only supports the Windows WebView2 export option. WKWebView is a different technology.
You should probably have a debug text saying "Steamworks is available/not available" depending on if Steamworks works or not.
It will help on understanding why it doesn't work. It might be you're not using the right compatible files.
I haven't tried yet the Steamworks for Webview2 plugin so I don't know yet about the plugin.
But in the meantime, I wrote a tutorial on my blog on how to export to Steam with NW.js and which versions of files to use to get your game working on all platforms (Windows, Mac, Linux, and Steamdeck) if you want.
The article is here: sleepingpanda.games/blog/how-to-export-your-construct-3-game-for-steam-and-steamdeck
Hope it helps!
Hi, hmm, if I use the basic version of the plugin 1.0 and do an export, then the game launches instantly, BUT if I use the new version of the plugin 1.0.1, then the game does not launch at all....( r359+ ) ( Even if the project is empty )
I just tried v1.0.1 and it seems to work fine for me. Perhaps the problem is unrelated to the Steamworks plugin.
Every time I start construct 3 with this add on it sends me a red screen with an error... I am using the latest version of construct3 and without any other add on installed
Are you sure you're using r359+? The latest stable release r358 is not currently supported, you have to use a beta release at the moment.
Thank you very much for the quick answer.
It was my fault for not reading the notes.... thank you