Steamworks allows you to add features such as Achievements to your game!
Add a Stat and an Achievement to your Steamworks page
Add Facepunch.Steamworks to your project via NuGet.
You may need to set your project to x64 instead of x86 or ANYCPU.
The Code in the example is all you will need to get this working
Use a try catch to prevent crashing if PC is offline
Call Init with your Game's APP ID provided by Steamworks
Recommended Boolean for game logic surrounding Steam
Doesn't run if session is invalid
Auto Update all stats
Set off achievements with 1 line
Update session state if Offline or invalid
Works in VS2019
Steam Tested and Live
No DLL, Folder, Resources, or other files needed for Publishing, Just one clean EXE file.
No DRM - Just share the EXE without worrying about keys
Works on all systems tested (x64, Any Core Count, HW DX9 SW DX11, Intel Arc)
SteamDeck Compatible (Proton Compatibility Tutorial Coming Soon)
Itch.io, GameJolt, USB, DVD Friendly Distribution
.NET Framework 4.7.2
Use a try catch to prevent crashing if PC is offline
Call Init with your Game's APP ID provided by Steamworks
Recommended Boolean for game logic surrounding Steam