Skip to content
WooltonPublic

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

5 Commits

Folders and files

Repository files navigation

Godot-Steam-API 💨

Godot Steam integration using GDNative. Supports 💰Windows, 🐧Linux & 🍏MacOS (x86_x64/arm64).

Getting Started

  1. Download and open the example project.
  2. There will be a SteamAPI tab in the Project Settings, follow the instructions to configure the SteamAPI for your game.

Now you can use the following functions:

Steam.set_achievement("gator_god")
Steam.get_achievement("gator_god")
Steam.clear_achievement("gator_god")
Steam.set_leaderboard_score("High Scores", 1000)
var scores = yield(Steam.get_leaderboard_scores("High Scores", 0, 10), "done")

Buildling localy on Windows

  1. Clone this repo.
git clone git@github.com:samsface/godot-steam-api.git
  1. Download and install:

  2. Install Conan, a C++ package manager.

    pip3 install conan
  3. Download the Steam SDK and extract it into the lib directory were you cloned this project.

    If your files are now laid out like this: godot-steam-api/lib/steam-sdk/redistributable_bin/win64/steam_api64.dll; you've done it correctly.

  4. Generate the Visual Studio project.

    # in root directory were you cloned this project to, e.g. C:/work/godot-steam-api
    mkdir work && cd work && cmake .. && start .
  5. Open steamsdk-godot.sln and build. CMake will install the built dlls into the example project for you every time you build. Just open the example project and your good. The library is also reloadable so no need to restart Godot every build.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages