Coder Social home page Coder Social logo

yoyogames / gmext-discord Goto Github PK

View Code? Open in Web Editor NEW
9.0 3.0 1.0 3.47 MB

Repository for GameMaker's Discord Extension

License: Other

Yacc 25.81% Batchfile 1.89% Shell 1.98% Game Maker Language 0.74% C 0.12% C++ 8.31% HTML 61.16%
gm-extension

gmext-discord's Introduction

GMEXT-Discord

Repository for GameMaker's Discord Extension

This repository was created with the intent of presenting users with the latest version available of the extension (even previous to marketplace updates) and also provide a way for the community to contribute with bug fixes and feature implementation.

This extension will work on Windows, macOS and Linux.

VISUAL STUDIO SOURCE: source/Discord_vs/

XCODE SOURCE: source/Discord_xcode/

After compilation the exported dll/dylib/so file is automatically copied into the extension folder inside the included GameMaker project folder.

Requirements

In order to compile for Windows/macOS/Linux you are required to download the Discord SDK v3.2.1 and place it inside source/Discord_sdk/

Documentation

We provide both a PDF version of the documentation included with the extension and inside the demo project (datafiles) and a fully converted version to the Github Wiki format (the latter will be the most up-to-date version, the other will follow shortly after). If there are any PR requests with new feature implementation please make sure you also provide the documentation for the implemented features.

gmext-discord's People

Contributors

antikoredev avatar diasfranciscoa avatar jzavala-yyg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

antikoredev

gmext-discord's Issues

Still no way to set secret,and party, Gamemaker Project Demo doesnt work(invite and party), no documentation or code example showing setting secret and party

Still no way to set secret,and party, Gamemaker Project Demo doesnt work(invite and party), no documentation or code example showing setting secret and party, Async event: Discord_Relationships_OnCurrentUserUpdate doesnt seam to trigger, No clear instructions on how to set Party and Secret.
party:
{
partyId: "foo partyID",
size: {
currentsize: 1,
maxsize: 4,
},
},
secrets:
{
Match: "foo matchSecret",
Join: "foo joinSecret",
Spectate: "foo spectateSecret",
},

doesnt work. Errors produced are weird.

Only fetching user by ID and Image by UserID, And current User Works.

(Issue) Be aware if game doesnt start or gives non-zero exit.

if DISCORD runs in ADMIN mode ( lets say you just installed it or otherwise), and you launch a game with this extension and the .exe is not also ran with ADMIN perms, This will cause a "crash non-zero" and might cause the discord application to come in focus. This can be very confusing or annoying to the users which are unaware of this.

Links to another game with same issue: (Not just limited to gamemaker)
https://steamcommunity.com/app/1106840/discussions/0/3279194170706093180/

Any plans to make not necessary to use Discord for running the game?

Most games don't require Discord to be open to play, even when using Discord functionality somehow.
I think they just detect if Discord is open when the game initializes, and if it doesn't, it just disables all Discord functionality and the game should run fine.

Are there any plans to make this possible in the future using this extension?

[Issue] Discord_Activities_UpdateActivity :: member 'match' must be of type string

Discord_Activities_UpdateActivity :: member 'match' must be of type string error is triggered, when the member match of struct secrets is clearly string inside gamemaker. Same applies for other structs such as party, PartySize etc

Added control over all available parameters when calling Discord_Activities_UpdateActivity (see docs).
(Possibly the implementation wasn't tested?)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.