Hide other player's score

Game development with Board Game Arena Studio
Post Reply
douze12
Posts: 5
Joined: 03 March 2014, 19:16

Hide other player's score

Post by douze12 »

Hi,

I'm programming a game on which the players must'nt know the score of their opponents.
So, there is a way to hide the score of the other players in the interface?

Thanks in advance!
User avatar
tarini
Posts: 45
Joined: 11 July 2013, 22:36
Location: italy
Contact:

Re: Hide other player's score

Post by tarini »

I think you should not use "standard" score method (that shows score to everyone) but reimplement it with a new player attribute (as a new column on the player table). In this way you can increment/decrement normally (using custom query) and display it only to its owner.

When the game is about to finish, you should set "real" player_score for ranking purpose.
douze12
Posts: 5
Joined: 03 March 2014, 19:16

Re: Hide other player's score

Post by douze12 »

Hi,

Thank you for your answer. I think i'm gonna use your advice, it seems to be the best way to do that even if i have to reimplement some standard methods.

Thanks again
User avatar
sourisdudesert
Administrateur
Posts: 4630
Joined: 23 January 2010, 22:02

Re: Hide other player's score

Post by sourisdudesert »

Hi,

I confirm: this is the correct way to proceed.

Cheers,
Post Reply

Return to “Developers”