All Projects → LennyPhoenix → GodotDiscordSDK

LennyPhoenix / GodotDiscordSDK

Licence: MIT license
A Discord Game SDK wrapper for Godot, written in C.

Programming Languages

c
50402 projects - #5 most used programming language
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to GodotDiscordSDK

Godot Kotlin Native
Kotlin bindings for Godot Engine
Stars: ✭ 186 (+365%)
Mutual labels:  wrapper, godot, godot-engine
godot-nightly
A program to download the latest version of Godot Nightly Builds
Stars: ✭ 23 (-42.5%)
Mutual labels:  godot, godot-engine
Godot-3.0-Noise-Shaders
Godot 3.0 Noise Shaders
Stars: ✭ 38 (-5%)
Mutual labels:  godot, godot-engine
Freedom-Hunter
Monster Hunter like action RPG game
Stars: ✭ 71 (+77.5%)
Mutual labels:  godot, godot-engine
godot-uuid
Unique identifier generation v4 for Godot Engine
Stars: ✭ 96 (+140%)
Mutual labels:  godot, godot-engine
godot-kotlin
Kotlin Native bindings for Godot Engine
Stars: ✭ 11 (-72.5%)
Mutual labels:  godot, godot-engine
godot-shotgun-party
An evolving multiplayer project for Godot Engine 3.
Stars: ✭ 171 (+327.5%)
Mutual labels:  godot, godot-engine
lottie
No description or website provided.
Stars: ✭ 18 (-55%)
Mutual labels:  godot, godot-engine
Logic-Circuit-Simulator
A free and open-source Logic Circuit Simulator built in Godot Engine.
Stars: ✭ 23 (-42.5%)
Mutual labels:  godot, godot-engine
-godot-gj-api
GameJolt API plugin for Godot Engine
Stars: ✭ 45 (+12.5%)
Mutual labels:  godot, godot-engine
godot-size-benchmarks
Benchmarks to compare Godot binary sizes with different build-time options
Stars: ✭ 36 (-10%)
Mutual labels:  godot, godot-engine
Persistence
Plugin para almacenar datos de forma persistente en Godot Engine 3
Stars: ✭ 20 (-50%)
Mutual labels:  godot, godot-engine
godot-sponza
Sponza demo for Godot 3.x (`master` branch) and 4 (`4.0-dev` branch)
Stars: ✭ 133 (+232.5%)
Mutual labels:  godot, godot-engine
godopy
[WIP] Python scripting for the Godot game engine
Stars: ✭ 27 (-32.5%)
Mutual labels:  godot, godot-engine
gdosc
OSC module for Godot game engine - it is now discontinued in favor of https://gitlab.com/frankiezafe/gdosc
Stars: ✭ 14 (-65%)
Mutual labels:  godot, godot-engine
godot-plugin-refresher
Adds a dropdown and refresh button combo to the toolbar for instantly toggling off/on a plugin. Enables faster workflows for Godot plugin developers.
Stars: ✭ 104 (+160%)
Mutual labels:  godot, godot-engine
Fake-Interior-Shader-for-GodotEngine
Interior Mapping shader for the Godot Game Engine 3.x that works with both GLES3 and GLES2.
Stars: ✭ 40 (+0%)
Mutual labels:  godot, godot-engine
godot-engine.supabase
A lightweight addon which integrates Supabase APIs for Godot Engine out of the box.
Stars: ✭ 39 (-2.5%)
Mutual labels:  godot, godot-engine
GodotTerrainEditorPainter
Heightmap based terrain editor plugin for GODOT with vertex color based terrain shader painting
Stars: ✭ 23 (-42.5%)
Mutual labels:  godot, godot-engine
godot-ci
Docker image to export Godot Engine games. Templates for Gitlab CI and GitHub Actions to deploy to GitLab Pages/GitHub Pages/Itch.io.
Stars: ✭ 316 (+690%)
Mutual labels:  godot, godot-engine

Godot Discord Game SDK

Windows MacOS Linux

NOTE: This wrapper is still under development.

A Discord Game SDK wrapper for Godot, written using GDNative C for Windows, Linux and MacOS.

Make sure to use the Release version of the library on Windows if you do not have the MS Build Tools installed, or it will crash.

Docs

For more detailed documentation and instructions, head to the wiki.

Quickstart

Head over to the Project Template and follow the instructions in the README.

Downloading

If you can't or don't want to compile the library yourself head to the actions page, or download a specific release.

Compiling & Installing

  • Clone the repository: git clone https://github.com/LennyPhoenix/GodotDiscordSDK.git

    • Update submodules:
    cd GodotDiscordSDK
    git submodule update --init --recursive --remote
  • Either:

    • Run the setup script:

      • Windows: setup.bat
      • Linux/OSX: sh setup.sh
    • Or manually setup:

      • Download the Discord Game SDK (2.5.6).

      • Copy the discord_game_sdk.h file from the c/ folder of the SDK, and place it in the src/ folder of the repo.

      • On Windows:

        • Place the discord_game_sdk.dll.lib file from the lib/x86 folder of the SDK in the lib/ of the repo and rename it to discord_game_sdk.32.lib.

          Do the same with the discord_game_sdk.dll.lib file from the lib/x86_64 folder, renaming it to discord_game_sdk.64.lib.

      • On Linux:

        • Place the discord_game_sdk.so file from the lib/x86_64 folder of the SDK in the lib/ folder of the repo and rename it to libdiscord_game_sdk.so.
      • On MacOS:

        • Place the discord_game_sdk.dylib file from the lib/x86_64 folder of the SDK in the lib/ folder of the repo and rename it to libdiscord_game_sdk.dylib.
      • Make sure to place the appropriate Discord Game SDK shared library in the demo's bin directory (ensure it is also placed in any exports, this should be automatic if it is selected as a dependency).

        These files can be retrieved from the lib/x86 and lib/x86_64 folders of the SDK. (x86 being 32-Bit, and x86_64 being 64-Bit)

        NOTE: On Linux/OSX you may have to add lib to the beginning of these shared library's names.

  • Install SCons: (If not already installed)

    • Download and install Python (Make sure to add to PATH)
    • Install SCons: python -m pip install -U scons
    • (Optional) Reload your terminal to update the path variables.
  • Compile the library:

    • Windows Example: scons platform=windows bits=64
    • Linux Example: scons platform=linux
    • MacOS Example: scons platform=osx
  • The compiled binaries will be available from the demo's bin directory.

    NOTE: The output directory for the compiled binaries can be changed by passing the target_path parameter in scons, e.g scons platform=windows bits=64 target_path=project/bin

  • These may now be used in a GDNative library in your godot project. See the demo project for an example.

  • Ensure that the .gdns files are all located in the same folder as the .gdnlib's folder, otherwise the library will not work.

  • All the classes required can be accessed from the Discord class as preloaded constants.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].