[Kde-games-devel] A new highscore manager - KScoreManager
Matt Williams
matt at milliams.com
Tue Apr 29 14:44:50 CEST 2008
On Tuesday 29 April 2008 13:35:37 Dmitry Suzdalev wrote:
> On Tuesday 29 April 2008 15:15:37 Matt Williams wrote:
> > Could you possibly elaborate on this a bit? If I understand you
> > correctly, you would essentially want to group the scores for each level
> > with setScoreGroup() so that score for level 1 are only judged against
> > other scores for level 1, but that is having the downside that you could
> > end up with 30 tabs in the dialog making it very messy? How would you
> > imagine scores collected for these games should be displayed in the UI?
>
> Yes, you understood right.
> I imagine the possible score UI as some table like this:
>
> Level1 - Name1 - 38 (highscore points)
> Level2 - Name2 - 11
> Level3 - Name3 - 20
>
> The difference for this type of highscores is that there is only one
> highscore entry per level and as such it makes no sence to show them as a
> tabs - they all should go into one (and the only) dialog page.
> At least that's how i see it.
Okay, how about this: You'll use addScore() and score groupings as normal and
add the scores for each level into a different group. But I'll provide a flag
to pass to show() such as show(KScoreManager::LeaderBoard) which will display
a table with just one page and just the #1 score for each group. So basically
KScoreManager::show() will have two different ways of displaying the data.
How's that sound?
Matt
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part.
Url : http://mail.kde.org/pipermail/kde-games-devel/attachments/20080429/a8869f2c/attachment.pgp
More information about the kde-games-devel
mailing list