discord / discord-rpc

https://discordapp.com/developers
MIT License
1.06k stars 329 forks source link

[Question] What happened to progress bars? #227

Closed xmantheman closed 6 years ago

xmantheman commented 6 years ago

A while back you were able to see progress bars on Rich Presences with a startTimestamp and an endTimestamp

As seen here: image

Are there any plans on bringing this back, or adding a field such as progress_bar: <Boolean> which would enable/disable the bar? I'm interested in using this in an application I'm working on.

msciotti commented 6 years ago

Right now, the progress bar is for the spotify integration only. We've never actually released it as a feature for Rich Presence; if that ever appeared, it was an unintended bug. There aren't any plans to add the bar at the moment, as it's fairly specific to music app integrations rather than game integrations.

Lachee commented 6 years ago

a more general progress bar outside of time would be cool for game integration however. You could show statistics about a game such as goals completed (like 10 of 20 enemies killed), level completion or character experience to next level! It would be awesome if it could be at least considered as a extra feature.

Maybe having 2 new fields, progress_value : float and progress_max : float, which will display the bar with the values like seen in the screenshot (but formatted in a more generic way like 2 decimal places, so it would display as 10.52 / 20).

The text should also have a tooltip so you can see what the bar is for (like the assets). A progress_text : string field would define this and can be used for things like "Enemies Killed" or "Level Experience"

xmantheman commented 6 years ago

I didn't really plan to use it for a game integration, but exactly for a music integration.

yourWaifu commented 6 years ago

Outside of music, I can easily see this being used for multiplayer games. Many have a timer for how long the game is going to last. Many multiplayer games also have a bar just like a music bar for progress to victory like pushing the payload in Team fortress 2. The main idea I wanted to bring up is that it's not an uncommon ui element to have in game, so I'm having a hard time understanding why it's only for Spotify.

ghost commented 5 years ago

I was literally just trying to figure out how to get the dang progress bar and have been ripping my hair out because all I get is this "Time left". Is this ever going to be a feature in the future? I'd also much rather see progress left by using a progress bar as opposed to "time left".

Arimodu commented 3 years ago

I was just googling for the same thing, wanted to use as a progress bar in a rythm game, oh well, what can I do.

XORbit01 commented 8 months ago

It's 2024, have they added the progress bar?

Dragon-Batch commented 2 months ago

no :( image