Page 1 of 1

Variable available over games

Posted: 25 August 2020, 12:37
by MGoulet
Hi,

I'm programming Dungeon Roll and in the rulebook, there are achievements. I would like to know if it's possible to have variable over game (like kill the Dragon twice during the same delve). It would be very interesting to have achievements (trophies) in solo mode.

Also, is it possible to get the highest score in all previous game?

Re: Variable available over games

Posted: 25 August 2020, 12:46
by RicardoRix
A discussion about this kind of thing is happening here:

https://boardgamearena.com/forum/viewto ... =9&t=17087

Kongregate had a very strong meta-game presence and seemed to be very popular with the hardcore players.

As a developer you could add your own, very much like the 'statistics' model that is used on BGA.

My only concern is that people get offended when someone makes some dubious game decisions because they're trying to unlock an achievement.
In solo-mode though I can't see how this is a problem.

Re: Variable available over games

Posted: 26 August 2020, 08:04
by JumpMaybe
Hi, did you see this part of the manual?:
http://en.doc.boardgamearena.com/Main_g ... _games_API

Re: Variable available over games

Posted: 26 August 2020, 10:50
by Draasill
Great !

Out of curiosity, which games use it ?

Re: Variable available over games

Posted: 26 August 2020, 12:18
by JumpMaybe
I don't know, I haven't used it myself. Maybe someone else knows.

Re: Variable available over games

Posted: 27 August 2020, 11:05
by apollo1001
Draasill wrote: 26 August 2020, 10:50 Great !

Out of curiosity, which games use it ?
Currently none, but there are games in the pipeline for which legacy aspects will be needed, hence why these methods have recently been added. Bear in mind that there is a TTL and size limit so we don't kill their servers, so use them sparingly.

Re: Variable available over games

Posted: 27 August 2020, 11:38
by MGoulet
Thanks for the information.

The goal is for achievements in solo game. I think using an array of integer for keys and boolean for value. The size of the array will probably be less than 1ko.