Type Library Revision Release 2022.3683 Keywords steam, steamworks, achievements, leaderboard Platforms macOS, Windows
The Steamworks plugin is intended for desktop games uploaded to Steam. It is used to handle achievements, player stats, leaderboards, and to show
The Steamworks plugin can be used in the Solar2D Simulator, but it has the following limitations/issues:
To use this plugin, add an entry into the plugins
table of build.settings
. When added, the build server will integrate the plugin during the build phase.
settings = { plugins = { ["plugin.steamworks"] = { publisherId = "com.coronalabs" }, }, }
You must also add the AppID assigned to your application by Steam into your config.lua
file:
application = { steamworks = { appId = "YOUR_APP_ID" }, }
local steamworks = require( "plugin.steamworks" )