10 August 2016
Announcing Steamworks, a plugin for Steam apps
When it comes to PC desktop games, the premier place to publish is Steam.
Now, Corona developers can build apps for Windows (
win32.exe) or macOS and submit them to Steam to be “greenlit.” During the greenlight process, the Steam community reviews apps and decides if they want them to be published.
To ensure that your games can compete in the Steam store, Corona Labs has been diligently working to create a plugin for Steam. This plugin supports core features requested by developers who have already had their apps successfully published to Steam.
Using the new Steamworks plugin, your app can now take advantage of leaderboards, achievements, user stats, player information, and various Steam overlays in your game. These features aren’t required, but their presence in your game could encourage more people to vote “yes!”.
About the plugin
This plugin is a bit different than our other game networking plugins. For example, there is no login API. Instead, you must be logged into the Steam client on your computer. The plugin then talks to the Steam client to exchange information with the Steam servers. On macOS, it’s best to set up the Corona Simulator as a Steam app and launch Corona SDK from Steam for maximum support.
Many of the API calls return data immediately, if the data has been cached or is readily available. For instance, if you are getting information about a user and the plugin previously retrieved the data, it is returned to you immediately. However, if the data is not immediately available, and you have set up an event listener for that type of data, an event will trigger the listener and then you can update your local data with the new information.
Learn more about implementing Steamworks in your game by reading our Steamworks plugin documentation and by examining our Steamworks sample app. And, join us in the Corona forums to discuss this wonderful addition to our plugin library.