Page 1 of 1

Hide other player's score

Posted: 27 August 2014, 19:02
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!

Re: Hide other player's score

Posted: 02 September 2014, 16:25
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.

Re: Hide other player's score

Posted: 07 September 2014, 10:59
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

Re: Hide other player's score

Posted: 09 September 2014, 18:06
by sourisdudesert
Hi,

I confirm: this is the correct way to proceed.

Cheers,