Make your GameMaker game stand out with Rich Presence! DOCUMENTATION HERE: click
Make sure to check out the 'sigma' branch. New features are tested there. Up-to-date builds can be found in bin/Debug
- Show your game's name on the player's discord profile
- Set custom text and images to show
- Set timestamps
- Get the local discord user's (public) information
Download the latest release here.
Extensions -> Import (Drag and Drop onto the GMS window may work too)
- The first function you want to call is gmrpc_init(AppID).
- The AppID is obtained on the discord developer page.
- I assume you already have your Game / App set up on Discord's side.
- After that, you can set the presence with gmrpc_setPresence(...)
- Snytax: gmrpc_setPresence(state, details, largeImage, smallImage) Where:
parameter | description |
---|---|
State | is the state text displayed on the user's profile |
Details | are the details displayed on the user's profile |
largeImage | is the large image displayed on the user's profile |
smallImage | is the small image in the bottom right corner of the large image |
Make sure to exit Discord if you don't need it anymore.
-
To do this, call gmrpc_exit()
This will unload the "discord-rpc.dll" from memory.