gms_show_achievements
Usage: gms_show_achievements ( )
Description
Shows a window that displays all achievements, and whether they're achieved.
Replies (10)
Last message on 17 May 2020
Am I doing something wrong?
I am trying to show the achievements in the game, but the window pops up empty.
I thought it was he text colour, but even setting it to white (the background is black) doesn't make it appear.
Ok, I was able to find this out. I needed to put gms_show_achievements(); in CreateEvent.
But if I close the window, and call it back using a StepEvent or DrawEvent on a key press, it pops up empty again, specially if an achievements was reached.
Is there any way around this?
Size43
(Administrator)
on
4 Apr 2020, 15:54:41
This might be a bug. Are you able to reproduce this issue in an empty project with just a login and the achievements window?
The project I'm working on has only the achievements and the login. It happened as soon as I added the achievements pop up by pressing a key
Size43
(Administrator)
on
4 Apr 2020, 18:41:24
Would you mind mailing me your project (gamemakerserver@outlook.com)?
Yeah, sure. Already sent the project.
Size43
(Administrator)
on
23 Apr 2020, 20:39:21
This bug is caused by the text color changing to black when an achievement is reached. This color is currently not configurable. In the next release of the extension (Saturday) I've added a new constant c_black_text that you can use to configure the color of that text.
Thank you for the fast answer x)
And sorry for replying too late.
Size43
(Administrator)
on
14 Apr 2020, 23:27:38
Just a quick update -- I've reproduced the issue you're having. It might be a while before I get around to fixing it, as I've currently got some higher priority work going on to support the increased server load caused by an update to a popular game that's using GameMaker Server.
Size43
(Administrator)
on
5 Apr 2020, 18:21:52
Thanks! I'll take a look as soon as I have some time.