LegoNenen / RGSS_SteamUserStatsLite

Quick and Easy Steamworks Achievements Integration for RPG Maker VX Ace

Home Page:http://forums.rpgmakerweb.com/index.php?/topic/50640-cyanics-quick-and-easy-steamworks-achievements-integration-script/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Someone I know is working on an RPG Maker game, and wanted to add achievements without the hassle of writing lots of C++ code. Good news is as of Steamworks SDK 1.32, exports have been added so C++ is not necessary to use most of Steamworks. As such, I have created a script that requires no DLLs other than the Steamworks DLL itself.

Here's how to use the script:

  • Copy steam_api.dll from the Steamworks SDK to your project root folder. Important: you must use Steamworks SDK 1.48 or above for r7! Check tagged revisions if you need a version for an older SDK version.

  • Paste the script into the script editor.

  • In an event script or wherever you need it, write the following:

      steam = SteamUserStatsLite.instance
      steam.set_achievement 'YOUR_ACH_ID_HERE'
      steam.update
    
  • If that second line returns true, the achievement has been set. Otherwise, you'll want to check if you set up achievements properly on Steam.

Please go to https://gmman.github.io/RGSS_SteamUserStatsLite for documentation.

About

Quick and Easy Steamworks Achievements Integration for RPG Maker VX Ace

http://forums.rpgmakerweb.com/index.php?/topic/50640-cyanics-quick-and-easy-steamworks-achievements-integration-script/

License:MIT License


Languages

Language:Ruby 100.0%